APM: Command line arguments

David Bluestein II dbii at mudpuddle.com
Wed Feb 18 08:51:22 CST 2004


I know about Getopts to get command line options, but it has escaped me how
to get a command line argument. What I want is to:

./foo.pl bar.txt

And have foo.pl get the name bar.txt as a variable (in this case the
filename to act upon). Where is bar.txt stored?

David

----------
David H. Bluestein II                         President & Lead Developer
dbii at interaction.net                         ii, inc.

http://www.interaction.net
-        Specializing in Designing Interactive Websites        -
-              and Searchable Internet Databases                   -








More information about the Austin mailing list