Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: MakeMaker, h2xs, and writing CPAN modules

by Anonymous Monk
on Oct 24, 2003 at 14:03 UTC ( [id://301844]=note: print w/replies, xml ) Need Help??


in reply to MakeMaker, h2xs, and writing CPAN modules

Over a year later, I feel like adding, for Googlers, what nobody seems to have mentioned (because it's too obvious?): perl's -I switch.
For one-time runs of scripts using a module in some special place, or a version different from the installed version:
perl -I/my/temp/lib myscript.pl
See perldoc perlrun.

Replies are listed 'Best First'.
Re: Re: MakeMaker, h2xs, and writing CPAN modules
by perrin (Chancellor) on Oct 24, 2003 at 17:29 UTC
    That doesn't solve the problem. The real issue is that h2xs makes a directory structure that doesn't actually work in place.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2025-07-17 15:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.