in reply to Unix size

You should use @ARGV instead of @_ if the parameters are coming from the command line. @_ contains arguments to subroutines.