Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: How to get 0 to initialize a value

by holli (Abbot)
on Apr 30, 2019 at 02:36 UTC ( [id://1233167]=note: print w/replies, xml ) Need Help??


in reply to How to get 0 to initialize a value

Don't put a use strict; in you code example when in fact you're not using it. If you did, then you'd have noticed $novel_list is not defined anywhere. And no, "0" does not mean undefined or will trigger an undefined warning ever.


holli

You can lead your users to water, but alas, you cannot drown them.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-25 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found