Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re^2: include statement in perl?

by Beatnik (Parson)
on May 31, 2003 at 13:35 UTC ( #262062=note: print w/ replies, xml ) Need Help??


in reply to Re^2: include statement in perl? (DOCUMENT_ROOT trustworthy)
in thread include statement in perl?

'safe to trust' ne 'untainted' :)

Greetz
Beatnik
... I'm belgian but I don't play one on TV.


Comment on Re: Re^2: include statement in perl?
Re^4: include statement in perl? (no care needed)
by Aristotle (Chancellor) on May 31, 2003 at 13:38 UTC
    Of course; I just mean you don't need to set it yourself. It'll suffice to simply do something like
    my ($doc_root) = $ENV{DOCUMENT_ROOT} =~ /(.*)/;

    Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2014-12-21 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (104 votes), past polls