http://www.perlmonks.org?node_id=74360


in reply to I'm an idiot newbie, so

Try @ARGV... the first parameter is $ARGV[0], second is $ARGV[1] etc. You also might wanna look at Getopt::Long and Getopt::Std. More info, check here

Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur.