Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by SimonClinch (Deacon)
on May 24, 2011 at 16:38 UTC ( #906531=note: print w/replies, xml ) Need Help??


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

I was addressing assigning to it as being the main issue, but I wouldn't negate it either as a general rule, because it certainly doesn't have to be numeric.

One world, one people

  • Comment on Re^3: Different behaviour of 'stat' function after assignment to $! (errno).

Replies are listed 'Best First'.
Re^4: Different behaviour of 'stat' function after assignment to $! (errno).
by jpl (Monk) on May 24, 2011 at 17:24 UTC
    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.
      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://906531]
help
Chatterbox?
[Eily]: marto I clearly don't have the thread knowledge to understand the importance of that example

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2017-07-26 14:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (396 votes). Check out past polls.