perl qstn...
Randal L. Schwartz
merlyn at stonehenge.com
Sun Apr 4 15:28:00 UTC 2010
>>>>> "Randal" == Randal L Schwartz <merlyn at 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 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
More information about the freebsd-questions
mailing list