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).
In reply to Re: Can't grab $ARGV[n]
by runrig
in thread Can't grab $ARGV[n]
by OxYgEn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |