Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: Different behaviour of 'stat' function after assignment to $! (errno).

by jpl (Monk)
on May 24, 2011 at 17:24 UTC ( #906536=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Different behaviour of 'stat' function after assignment to $! (errno).
in thread Different behaviour of 'stat' function after assignment to $! (errno).

If that were the case, then $ERRNO should not say

If used numerically, yields the current value of the C errno variable
and
You can assign a number to $! to set errno
The OP did nothing unreasonable. ikegami has settled the matter, in my opinion. It was a bug, it has been fixed.


Comment on Re^4: Different behaviour of 'stat' function after assignment to $! (errno).
Re^5: Different behaviour of 'stat' function after assignment to $! (errno).
by SimonClinch (Chaplain) on May 25, 2011 at 09:16 UTC
    Yes it does say that in the 5.14 documentation. I don't remember what it used to say - but OK then you're right.

    One world, one people

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://906536]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2014-09-19 00:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls