Don't ask to ask, just ask | |
PerlMonks |
Is it possible to include GetOpt flags in $0by c (Hermit) |
on Oct 24, 2002 at 13:40 UTC ( [id://207699]=perlquestion: print w/replies, xml ) | Need Help?? |
c has asked for the wisdom of the Perl Monks concerning the following question:
I guess the title for the post says it all, but to restate...
Is there an internal perl variable that holds not just the
command line used when calling the current script, but also
all parameters with it? For example
The $0 value is './scriptname', however I am looking for a variable that will return './scriptname --flag'. Thanks! -c
Back to
Seekers of Perl Wisdom
|
|