NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
When Perl modules aren't in their normal location (Score:1)
You can use pragma called 'lib'.
In your program specify the directory where your modules are and then use them.
use lib 'privlibs'; # looks in ./privlibsuse My::Priv::Lib; #./privlibs/My/Priv/Lib.pm
More details at http://www.mathematik.uni-ulm.de/help/perl5/doc/lib.html [uni-ulm.de]
Re:When Perl modules aren't in their normal locati (Score:1)
Thanks.
Not entirely sure I understand... (Score:2)
packagefunction?Or are you worried that you're going to define Foo::Bar and then someone else might define Foo::Bar and this will lead to ambiguity when you say
use Foo::Bar?Re:Not entirely sure I understand... (Score:1)
Thx,
Gary Allen