chinamox has asked for the wisdom of the Perl Monks concerning the following question:
Hello good monks!
I am working on an assignment for my an online course and I have run into a small issue. I am trying to complete an assignment involving the use of the utterly brilliant Acme::EyeDrops module.
Basically all I really need is a quick clarification on how the <> operator works. My command line input should look like this:
username$:perl my_convert_program.pl orginalprogram > program_after_Ey +eDrops
My question to do with using @ARGV to pass the values for 'orginalprogram' and 'program_after_EyeDrops'. Are they $ARGV[0] and $ARGV2 or does the > do something like automatically open program_after_EyeDrops?
As always, thank you for your time and patience,
-mox
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using @ARGV with an ‘>’ in the command line
by GrandFather (Saint) on Nov 06, 2006 at 03:17 UTC | |
by chinamox (Scribe) on Nov 06, 2006 at 03:33 UTC | |
|
Re: Using @ARGV with an ‘>’ in the command line
by imp (Priest) on Nov 06, 2006 at 03:21 UTC | |
by chinamox (Scribe) on Nov 06, 2006 at 03:31 UTC | |
|
Re: Using @ARGV with an ‘>’ in the command line
by smokemachine (Hermit) on Nov 07, 2006 at 23:09 UTC |