On Fri, 8 Jun 2001, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote,

> I am currently making an options menu front end to prevent user error.
> Using getopt  and @ARGV. The problem is that getopt yanks the first
> argument... is there anyway to get it back?

You can save the @ARGV array.

@saved_argv = @ARGV;

my $first_arg = shift @saved_argv;


hth
s::a::n
-- 
http://www.trabas.com

Reply via email to