in reply to Using @ARGV with an ‘>’ in the command line

The '>' symbol instructs the shell to redirect the STDOUT output to the file named 'program_after_EyeDrops'. The shell determines this before launching perl, and this information is not available to perl.

Here's a tutorial on redirection when using bash.

  • Comment on Re: Using @ARGV with an ‘>’ in the command line

Replies are listed 'Best First'.
Re^2: Using @ARGV with an ‘>’ in the command line
by chinamox (Scribe) on Nov 06, 2006 at 03:31 UTC

    Excellent. This makes my task much easier! Thank you very much for the link too.

    best,

    -mox