Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: How do I...Redirect error.log data to a file of my chosing

by vagnerr (Prior)
on Jun 02, 2002 at 13:31 UTC ( [id://171022]=note: print w/replies, xml ) Need Help??


in reply to How do I...Redirect error.log data to a file of my chosing

Just a thaught but using Carp and so forth might not help if the new machine has perl installed in a different place, or not at all. Have you tried a *realy* simple perl script to make sure that perl itself is still working on the new machine?

---If it doesn't fit use a bigger hammer
  • Comment on Re: How do I...Redirect error.log data to a file of my chosing

Replies are listed 'Best First'.
Re: Re: How do I...Redirect error.log data to a file of my chosing
by S_Shrum (Pilgrim) on Jun 02, 2002 at 19:09 UTC

    Perl is functional as I did a simple "hello world" test.

    The problem that I am finding *now* is that the "use lib" I have defined to point to my modules location is invalid. I have tried the following:

    use lib "/lib";
    use lib "/cgi-bin/lib";
    use lib "$ENV{'DOCUMENT_ROOT'}/cgi-bin/lib";
    use lib "/home/httpd/www.shrum.net/cgi-bin/lib";

    ...but none of these work. I have a email into the support guys at 1dollarhosting to get the correct prefix path to use in the "USE LIB".

    Thanx

    ======================
    Sean Shrum
    http://www.shrum.net

      With this much grief, I would have changed providers long before now ...

      That said, you probably want use lib './lib'; if the lib directory is in the same place you keep your CGIs.

      That should even work in a chrooted environment, but if it doesn't I suggest some careful probing of where your scripts think they are and what they can see.

          --k.


Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-19 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found