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
./scriptname --flag
The $0 value is './scriptname', however I am looking for a variable that will return './scriptname --flag'.
Thanks! -c
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Is it possible to include GetOpt flags in $0
by robartes (Priest) on Oct 24, 2002 at 13:46 UTC | |
Re: Is it possible to include GetOpt flags in $0
by sch (Pilgrim) on Oct 24, 2002 at 14:03 UTC | |
Re: Is it possible to include GetOpt flags in $0
by Jenda (Abbot) on Oct 24, 2002 at 15:44 UTC | |
Re: Is it possible to include GetOpt flags in $0
by roik (Scribe) on Oct 24, 2002 at 13:54 UTC | |
by roik (Scribe) on Oct 24, 2002 at 14:00 UTC | |
by Mr. Muskrat (Canon) on Oct 24, 2002 at 16:40 UTC |
Back to
Seekers of Perl Wisdom