[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Edlug Archive Jan 2003 ]

Re: [edlug] getopt in perl

Sorry everyone,
I wrote before I thought properly.
The answer for me was just to get the contence of @ARGV and attach it to
the end of my command.
Thanks as always,

> I use something like this:
> use Getopt::Std;
> $option_set = "h";		# valid option characters
> &getopts($option_set) || die "$pn aborted: Incorrect option\n";
> &help_info && exit(0) if $opt_h;

You can find the EdLUG mailing list FAQ list at:

This archive is kept by wibble@morpheux.org.DONTSPAMME