| ||||||
| 5/17 |
| 2005/7/7-10 [Computer/SW/Languages/Perl] UID:38467 Activity:nil |
7/7 Is there an easy way in Perl to parse command-line arguments like:
-opt1 val1 -opt2 val2?
\_ Getopt::Std module
\_ Ah, thank you--both for the useful answer and the quick reply.
\_ Specifically, look at the getopts() function in there.
\_ How about in Python?
\_ python has a standard getopt too. stfw. |