Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: File ext number

by ikegami (Patriarch)
on Mar 19, 2010 at 23:16 UTC ( #829721=note: print w/replies, xml ) Need Help??


in reply to Re: File ext number
in thread File ext number

If one does not, it will return an undef value.

No, m// never returns undef. (It could, it just doesn't.)

because it doesn't convert to zero.

No, undef DOES convert to zero when used as a number.

In fact, when undef is or would be converted to a string ("") or number (0) is when you get that and similar warnings.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2022-05-26 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (91 votes). Check out past polls.

    Notices?