On Sun, Apr 4, 2010 at 11:27 AM, Randal L. Schwartz
<[email protected]> wrote:
>>>>>> "Randal" == Randal L Schwartz <[email protected]> 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
> <[email protected]> <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
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[email protected]"
>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"