Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Regular Expression problem with $variable =~ m/C++/

by mtar (Novice)
on Jun 12, 2007 at 13:07 UTC ( #620713=note: print w/replies, xml ) Need Help??


in reply to Re: Regular Expression problem with $variable =~ m/C++/
in thread Regular Expression problem with $variable =~ m/C++/

Thank you for your suggestion!

I would like to use very powerful module (that I have seen), but my Server Provider doesn't want to install any CPAN module, not included in the default Perl installation!! ;-(

In fact I will open another discussion about this problem.

"How is possible to use the CPAN module in local folder without installation in the Perl folder?"

If I copy the module in my folder on the Server (where there are my scripts), can I call it as if they was included in the Perl folder?

I would like to modify the call of the module (for example Text::CSV):
use Text::CSV;
with something like this:
require '.../Text::CSV';
(Like function library)

In this way I could use all the module that I need, even if they are not installed inside the Perl folder.
I have already made some tests but unfortunately with any positive result...
bye

Replies are listed 'Best First'.
Re^3: Regular Expression problem with $variable =~ m/C++/
by jdtoronto (Prior) on Jun 12, 2007 at 15:48 UTC
    You need to find your directory then point the LIB environment variable to it, or a subdirectory, as in this snippet:
    use FindBin; use lib "$FindBin::Bin/lib";
    jdtoronto

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://620713]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2021-10-21 11:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (83 votes). Check out past polls.

    Notices?