Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: use: command not found error

by Anonymous Monk
on Apr 15, 2011 at 04:57 UTC ( [id://899558]=note: print w/replies, xml ) Need Help??


in reply to Re: use: command not found error
in thread use: command not found error

I got the same problem. Later I found that the #!/usr/bin/env perl -w was not in the first line. It was like this
# comments # comments # comments #!/usr/bin/env perl -w
Then I changed the above to
#!/usr/bin/env perl -w # comments # comments # comments
It worked.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-19 04:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found