Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
more useful options

Comment on

I'm using sub _() as a means to localise text
Beside the problem you have with _ having special meaning, the other problem you have is that _ always lives in main. If you would happen to use a module that also defines a sub _, you have a problem.

As for your question of restoring magic to _, I'm afraid I don't know the question. I've used sub _ myself before, and ran into the problem, and the problem I mentioned above. I now no longer use sub _. sub __ doesn't have the mentioned problems.

In reply to Re: Restoring the magic to the _ filehandle in Perl 5.8.9 by JavaFan
in thread Restoring the magic to the _ filehandle in Perl 5.8.9 by clinton

and:  <code> code here </code>

  • Please read these before you post! —
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    As of 2014-03-15 05:42 GMT
    Find Nodes?
      Voting Booth?

      Have you used a cryptocurrency?

      Results (317 votes), past polls