in reply to Re: Re: Using Fcntl in CGI (20 questions)
in thread Using Fcntl in CGI
Oh, I didn't think you were trying to be adversarial or trying to "win" anything. It was just a (lame) joke in my part.
So modify your script to report "@INC", $INC{"Fcntl.pm"}, and $INC{"XSLoader.pm"} and run it from the command line and run it from CGI (with the line that breaks it commented out -- it will report blank values for those last two items, that is okay).
Then you'll know where the working version is loading XSLoader.pm from, which Fcntl.pm it is using (you already know from the above which Fcntl.pm the CGI script is using), and why one finds it and the other doesn't (because "@INC" will be different between the two).
What to do next depends on what you find.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re^3: Using Fcntl in CGI (20 questions)
by Avox (Sexton) on Apr 08, 2003 at 18:00 UTC |