Perl never sees the redirection. The redirection is handled by the shell invoking your program.
If you just want to launch another program as if it were your program, see exec.
Otherwise, maybe you can tell us what you want to achieve, then we can maybe give you a better way of getting there.
In reply to Re: Get Entire Command Line of a Program
by Corion
in thread Get Entire Command Line of a Program
by HalNineThousand
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |