Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: use: command not found error

by Anonymous Monk
on Jun 10, 2009 at 22:02 UTC ( [id://770460]=note: print w/replies, xml ) Need Help??


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

i have the same problem - i want to run the following perl script helloworld.pl #!/usr/bin/perl print "Hello World!\n"; it runs if i type perl helloworld.pl in the command line but, if i try to run the script without calling perl explicitly in the command line (i.e. helloworld), i get "command not found". i'm absolutely sure that i'm running the program from the correct path and that perl is located in /usr/bin/ - i used which perl. what's going on guys?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2024-03-28 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found