Problems? Is your data what you think it is? | |
PerlMonks |
Re: Re: Re: CGI file writingby barrd (Canon) |
on Oct 29, 2003 at 14:27 UTC ( [id://303011]=note: print w/replies, xml ) | Need Help?? |
Hi mcogan1966, How I normally get around this is either create a module .pm which can be included in any dir in @INC and called with use Foo::Bar;. Or a library .pl called with require /path/to/baz.pl;. You would then make filenames and paths variables which are read in from the file making it portable throughout many systems without having to touch the script itself.
In Section
Seekers of Perl Wisdom
|
|