perl qstn...

Alejandro Imass ait at p2ee.org
Sun Apr 4 16:45:32 UTC 2010


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


More information about the freebsd-questions mailing list