in reply to mod_perl alternative filehandles

Can't you just open the filehandle in the startup.pl script?

Just remember that file-handles are package-scoped, so you need to refer to the right package.

Replies are listed 'Best First'.
Re^2: mod_perl alternative filehandles
by ropey (Hermit) on Mar 29, 2005 at 01:55 UTC
    Hi Joost,

    But if I say do open(F, "> /tmp/mylog.log"); in my startup script

    Then F isnt going to be accessible by another package by print main::F ? or am I being stupid ?