Date: Sun, 04 Apr 2010 08:27:59 -0700 From: merlyn@stonehenge.com (Randal L. Schwartz) To: kline@thought.org Cc: glarkin@FreeBSD.org, FreeBSD Mailing List <freebsd-questions@FreeBSD.org> Subject: Re: perl qstn... Message-ID: <861vevnsow.fsf@red.stonehenge.com> In-Reply-To: <86aatjnsts.fsf@red.stonehenge.com> (Randal L. Schwartz's message of "Sun, 04 Apr 2010 08:25:03 -0700") References: <20100403210610.GA4135@thought.org> <4BB8108A.9080104@FreeBSD.org> <1270371713.5861.98.camel@tao.thought.org> <86aatjnsts.fsf@red.stonehenge.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Randal" == Randal L Schwartz <merlyn@stonehenge.com> writes:
Randal> Even simpler:
Randal> if (@ARGV) {
Randal> print "No args\n";
Randal> } else {
Randal> print "arg is $ARGV[0]\n";
Randal> }
Augh. I hit send just as I realized that's backwards. Need
more caffiene. Swap the true and false blocks there. :)
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?861vevnsow.fsf>
