Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Re: #!$var/bin/perl

by dragonchild (Archbishop)
on Mar 13, 2003 at 16:24 UTC ( #242737=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: #!$var/bin/perl
in thread #!$var/bin/perl

Actually, you cannot depend on anything in the environment, especially not the path. (Well, you can, until you start running financial applications over the web. Then, you can't.) All of that is considered tainted by -T.

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.


Comment on Re: Re: Re: #!$var/bin/perl
Re: Re: Re: Re: #!$var/bin/perl
by PodMaster (Abbot) on Mar 13, 2003 at 16:30 UTC
    Yes I can. It's my computer. It doesn't matter if i'm running it from shell or via a web server, I still control everything, I can depend on my environment.


    MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
    I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
    ** The Third rule of perl club is a statement of fact: pod is sexy.

      If you can depend on your environment, there's no reason not to use a hardcoded path anyway.

      Abigail

        Yes there is. On windows, it doesn't matter if the path is hardcoded or not, and I prefer less typing.


        MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
        I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
        ** The Third rule of perl club is a statement of fact: pod is sexy.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (13)
As of 2014-04-17 19:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (454 votes), past polls