Re: Choosing the path based on the system "uname" command
- From: "doni" <doni.sekar@xxxxxxxxx>
- Date: 27 Feb 2007 14:44:44 -0800
On Feb 27, 2:09 pm, Ben Morrow <b...@xxxxxxxxxxxx> wrote:
This is not a Perl question. The path on the #! line is not used by
perl, but by your operating system. In general, there is no way to put
any logic into that line, though
#!/usr/bin/env perl
may do what you want. Note that it will use the perl in your current
PATH, which may be a security risk. As others have said, you are much
better off arranging for perl to be available as /usr/bin/perl, or
writing some sort of installation script that changes the #! line.
Ben
Thanks for your input. I will have an installation script to change
the #! line.
Thanks,
doni
.
- References:
- Choosing the path based on the system "uname" command
- From: doni
- Re: Choosing the path based on the system "uname" command
- From: Ben Morrow
- Choosing the path based on the system "uname" command
- Prev by Date: Re: using a list
- Next by Date: Re: using a list
- Previous by thread: Re: Choosing the path based on the system "uname" command
- Next by thread: Re: Choosing the path based on the system "uname" command
- Index(es):
Relevant Pages
|