Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Help display when executing the script

by dorward (Curate)
on Aug 08, 2006 at 10:18 UTC ( [id://566111]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://566111]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-19 18:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found