in reply to Can't grab $ARGV[n]
Update: another tip...use strict (use Super Search to search for "strict" in the subject of posts in Tutorials here also). Some of your variables are being set in one scope and used in another...and so have no value (my is a lexical scoping function, e.g. you have 4 different my $figure = ... lines, they each refer to different $figure variables which do not exist outside of the block they are declared in).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Can't grab $ARGV[n]
by OxYgEn (Acolyte) on Mar 05, 2004 at 02:48 UTC | |
by Gerard (Pilgrim) on Mar 05, 2004 at 03:55 UTC | |
by runrig (Abbot) on Mar 05, 2004 at 19:02 UTC |