Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Perl script w/o .pl extension broken on Ubuntu?

by GotToBTru (Prior)
on Jan 30, 2016 at 22:57 UTC ( [id://1154093]=note: print w/replies, xml ) Need Help??


in reply to Perl script w/o .pl extension broken on Ubuntu?

Recognize that DOS is doing some work behind the scenes. When you give it a command that isn't part of its list, it starts to look for filenames that match, using a variety of file extensions (.bat, .exe, .com). Failing that, it looks in directories in the path, etc.

Unix isn't DOS.

Update: read this. Note that none of the steps involve adding an extension to the file if you don't supply one.

But God demonstrates His own love toward us, in that while we were yet sinners, Christ died for us. Romans 5:8 (NASB)

  • Comment on Re: Perl script w/o .pl extension broken on Ubuntu?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-24 17:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found