in reply to use lib in cgi env
You want to get at the your .pm files in /home/user/test-workspace/trunk/modules/?
If I get your question right, then why not do:
But also know that $variable must also be a global variable,declared either using our $variable; or use vars qw($variable);use lib "test-workspace/trunk/modules"; use upload; print $upload::variable;
Hope this help
If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: use lib in cgi env
by AlexTape (Monk) on Nov 05, 2012 at 15:34 UTC |
In Section
Seekers of Perl Wisdom