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

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

  • Comment on Re^2: Permanent <<use feature ":5.10";>>

Replies are listed 'Best First'.
Re^3: Permanent <<use feature ":5.10";>>
by LanX (Saint) on Mar 08, 2012 at 20:07 UTC
    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

Re^3: Permanent <<use feature ":5.10";>>
by LanX (Saint) on Mar 08, 2012 at 18:06 UTC
    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