Should not use @ARGV but use GetOptions to get all parameters from the command line.