Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Permanent <<use feature ":5.10";>>

by LanX (Saint)
on Mar 08, 2012 at 17:55 UTC ( [id://958506]=note: print w/replies, xml ) Need Help??


in reply to Permanent <<use feature ":5.10";>>

IIRC you can define a rc-file with perl-code which is sourced by each instance...

... to be continued...

Cheers Rolf

UPDATE: see Re^3: Permanent <<use feature ":5.10";>>

Replies are listed 'Best First'.
Re^2: Permanent <<use feature ":5.10";>>
by juliosergio (Sexton) on Mar 08, 2012 at 17:59 UTC

    Ok, but what should be the name of the rc-file and where is to be located?

      Finally I found what I had in mind, see $Config{sitelib}/sitecustomize.pl in perlrun

      But contrary to toolic's PERL5OPT it's site-wide, so better think twice about what could be affected.

      Cheers Rolf

      I said IIRC and your too fast! :)

      Couldn't find it seems I was confusing with the debugger or perl6 feature. Sorry!

      Anyway for the general problem it should be possible to alias perl to a command which loads a module first which does whatever settings you want.

      For your special problem the mentioned -E is good enough.

      Cheers Rolf

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-19 09:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found