Ben Ramsey wrote:
Did I say the wrong package? Oops.
GetOpts does the job, but GetArgs is brand spanking new and much more configurable.
However, unless you already use other PEAR packages I would think twice about loading the big Pear codebase just to parse a few commandline options.
-- Aaron Wormus ---------------------- Pears and Pickles
Served fresh every day at http://php.eckspee.com
----------------------
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php