in reply to Developing CGI::Application based modules outside of the default @INC
As an aside, when you are eveloping a CGI application you really don't want to rely upon “the default @INC,” because if someone were somehow able to alter the (external...) value, they would fundamentally alter the behavior of the program.
Therefore, it is wisest to specify an explicit use lib statement.
You may find the FindBin package useful... it has been extensively discussed here in the past, with all its pluses and minuses. You should also review “taint mode.” (I'm making these suggestions partly for the benefit of “the peanut gallery,” not to imply that you're not familiar with these things already.)
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Developing CGI::Application based modules outside of the default @INC
by DBX (Pilgrim) on Apr 10, 2008 at 18:56 UTC | |
by spacebat (Beadle) on Apr 12, 2008 at 22:03 UTC | |
|
Re^2: Developing CGI::Application based modules outside of the default @INC
by DBAugie (Beadle) on Apr 10, 2008 at 20:46 UTC |