Date: Sun, 4 Apr 2010 12:45:30 -0400 From: Alejandro Imass <ait@p2ee.org> To: "Randal L. Schwartz" <merlyn@stonehenge.com> Cc: glarkin@freebsd.org, kline@thought.org, FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: perl qstn... Message-ID: <j2ya14066a01004040945z39191770k2f025752317fb14a@mail.gmail.com> In-Reply-To: <861vevnsow.fsf@red.stonehenge.com> References: <20100403210610.GA4135@thought.org> <4BB8108A.9080104@FreeBSD.org> <1270371713.5861.98.camel@tao.thought.org> <86aatjnsts.fsf@red.stonehenge.com> <861vevnsow.fsf@red.stonehenge.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 4, 2010 at 11:27 AM, Randal L. Schwartz <merlyn@stonehenge.com> wrote: >>>>>> "Randal" =3D=3D Randal L Schwartz <merlyn@stonehenge.com> writes: > > Randal> Even simpler: > > Randal> =A0 =A0 if (@ARGV) { did you mean unless? ;-) > Randal> =A0 =A0 =A0 print "No args\n"; > Randal> =A0 =A0 } else { > Randal> =A0 =A0 =A0 print "arg is $ARGV[0]\n"; > Randal> =A0 =A0 } > > Augh. =A0I hit send just as I realized that's backwards. =A0Need > more caffiene. =A0Swap the true and false blocks there. :) > > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 00= 95 > <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 discussi= on > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?j2ya14066a01004040945z39191770k2f025752317fb14a>