What is the global hash %_ ?



I've seen that %_ is treated as a special variable in Perl, as $_ and
@_ are: no warning is issued when using it without a package name, no
'my' is allowed on that var; the problem is that I could not find it
among Perl's documentation.

I'd like to use it in a program but am not sure whether I might be
interfering with some other intended use for %_ . Can someone point out
what is this variable exactly, and whether it is safe to use it?

.



Relevant Pages

  • Language problem with knoppix
    ... package it gives the error message On Language Like: ... perl: warning: Setting locale failed. ...
    (Debian-User)
  • Re: What is the global hash %_ ?
    ... no warning is issued when using it without a package name, ... 'my' is allowed on that var; the problem is that I could not find it ... If it is not listed in perlvar then perl doesn't care what you do with it. ...
    (comp.lang.perl.misc)
  • Cannot install clvm
    ... After I installed clvm package by apt-get I got this error... ... perl: warning: Setting locale failed. ...
    (Ubuntu)
  • Yum Problems, and Apt-Get Problems, Can Anyone help?
    ... .Package php-domxml needs libxsltbreakpoint.so.1, this is not available. ... am trying to install something. ... There are multiple versions of "autoconf213" in your system. ... you may remove that warning by setting the following ...
    (Fedora)
  • Re: year not returned by Time::localtime
    ... internals of perl regarding memory management and hence the distinction ... Instead I suspect that you mean that the new package function should be ... Its not possible to disambiguate (identify the appropriate ... By the time I can explain it without confusing you, ...
    (perl.beginners)