in reply to Help display when executing the script

The two obvious issues are:

  1. @ARGV is an array, not a scalar. You probably want to be comparing the first item in it, not the whole thing.
  2. '=' is the assignment operator, you want to string equality operator 'eq'

(And you're also failing to use strict and warnings)

  • Comment on Re: Help display when executing the script