in reply to Re: diamond operator
in thread diamond operator
Just a little point, <> reads from STDIN, not @ARGV. Looks like a typo to me.
For the poster, I showed some code below. In Perl @ARGV has the command line args. In C, char **argv, array of pointers to strings. Way easier in Perl! Perl does have equivalent to C getopts with many flavors.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: diamond operator
by Corion (Patriarch) on Jun 09, 2009 at 16:41 UTC | |
by Marshall (Canon) on Jun 09, 2009 at 17:56 UTC |