I know I can use various tricks so a Perl script can find its own location and that I can use @ARGV to get command line arguments. What I can't find is a way for a script to get the entire command line used to run it, including IO redirection and so on.
Is there a way to get the full command line used to run a Perl script?
Thanks!
In reply to Get Entire Command Line of a Program by HalNineThousand
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |