http://www.perlmonks.org?node_id=241444


in reply to Re: special magic in "%!" ?
in thread special magic in "%!" ?

The reference to %! requires Errno.pmc, then if that fails, Errno.pm.

Compare:

perl -le 'print for keys ::'
to
perl -le 'print for keys(%!); print for keys ::'
update: This is perl, v5.8.0 built for i686-linux

Replies are listed 'Best First'.
Re: Re: Re: special magic in "%!" ?
by Anarion (Hermit) on Mar 08, 2003 at 22:15 UTC
    You are rigth, thx :)
    It loads some modules if you use %!:
    lorien:~$ perl -le 'print %INC' lorien:~$ perl -le '%!;print %INC' strict.pm/usr/share/perl/5.8.0/strict.pmExporter.pm/usr/share/perl/5.8 +.0/Exporter.pmConfig.pm/usr/lib/perl/5.8.0/Config.pmErrno.pm/usr/lib/ +perl/5.8.0/Errno.pm
    $anarion=\$anarion;

    s==q^QBY_^=,$_^=$[x7,print