>>>>> "Randal" == Randal L Schwartz <mer...@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
<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"

Reply via email to