in reply to Multiple Arguments
If you need more complex argument parsing then just shifting @ARGV (see above) you might want to take a look at Getopt::Long which provides POSIX compatible argument parsing.
Regards, -octo