perl qstn...
Randal L. Schwartz
merlyn at stonehenge.com
Sat Apr 3 21:17:07 UTC 2010
>>>>> "Gary" == Gary Kline <kline at thought.org> writes:
Gary> if a .pl script has to have at least one arg, is there an easy
Gary> way to do that?
Dare I say, "there's more than one way to do it?" :)
See the "Getopt::" family in the CPAN.
My favorite is Getopt::Long.
--
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