develooper Front page | perl.perl5.porters | Postings from August 2013

[perl #119359] perlvar/Errno contradict each other about %!

Thread Next
Eirik Berg Hanssen via RT
August 19, 2013 06:51
[perl #119359] perlvar/Errno contradict each other about %!
Message ID:
That could surely be expressed more clearly, but they don't actually
contradict one another.  %! is provided by Errno, but you don't need to
C<use> it: Errno is automatically loaded when %! is seen:

eirik@greencat[01:02:27]~$ perl -E 'say for keys %INC'
eirik@greencat[01:02:57]~$ perl -E 'say for keys %INC; say tied(%!)'
eirik@greencat[01:02:58]~$ perl -E 'say for keys %INC; say tied(%!) if 0'

via perlbug:  queue: perl5 status: open

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About