http://qs321.pair.com?node_id=468278

anonymized user 468275 has asked for the wisdom of the Perl Monks concerning the following question:

As everyone knows, the "default" variable $_ and array @_ have special and well-documented uses. In an idle moment I experimented with %_ using v5.6.1 and lo and behold found that is was indeed predefined and worked as I kind of expected; e.g.

%_ = ( a => 1, b => 2 );

$_{ FRED } = "bert";

and so on like any other hash. However, I can trace no documentation about it. How can I check if it will remain a supported feature? I hope so, because it seems the perfect alternative to global ids to store such information in a predefined data dictionary which is what %_ seems to be for if I had to guess its purpose.

Thanks to all,

Simon Clinch