On Sun, Apr 4, 2010 at 11:27 AM, Randal L. Schwartz
<mer...@stonehenge.com> wrote:
>>>>>> "Randal" == Randal L Schwartz <mer...@stonehenge.com> writes:
>
> Randal> Even simpler:
>
> Randal>     if (@ARGV) {
did you mean unless? ;-)
> 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
> <mer...@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
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to