http://www.perlmonks.org?node_id=262062


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.

Replies are listed 'Best First'.
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.