Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: (OT) Perl command line interpolation

by gellyfish (Monsignor)
on Jun 15, 2006 at 12:28 UTC ( #555482=note: print w/replies, xml ) Need Help??


in reply to (OT) Perl command line interpolation

I don't think you mean 'interpolation'

People use the #!/usr/bin/env perl so that they can run the program on a variety of systems where they can rely on the presence of 'env' but don't necessarily know where the perl interpreter is located. env is a utility to run a program in a controlled environment, but in this case it is used simply for it's feature that it will find the program in the $PATH. There is no other particular advantage to use it and env is not necessarily available on all Unix-like systems.

/J\

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2023-12-04 15:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (25 votes). Check out past polls.

    Notices?