Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: How to PERMENANTLY add to INC

by arturo (Vicar)
on Nov 10, 2001 at 00:51 UTC ( [id://124476]=note: print w/replies, xml ) Need Help??


in reply to How to PERMENANTLY add to INC

AFAIK, you have a couple of options, only one of which does what you really ask:

  • recompile perl
    • sub-option: compile a private version of Perl that has the appropriate default @INC and use that version
  • set PERL5LIB so it includes the directories you want to add
  • (see perldoc perlrun for more on this)

hth.

perl -e 'print "How sweet does a rose smell? "; chomp ($n = <STDIN>); +$rose = "smells sweet to degree $n"; *other_name = *rose; print "$oth +er_name\n"'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-25 15:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found