Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: How to get 0 to initialize a value

by AnomalousMonk (Archbishop)
on Apr 30, 2019 at 03:58 UTC ( [id://1233170]=note: print w/replies, xml ) Need Help??


in reply to Re: How to get 0 to initialize a value
in thread How to get 0 to initialize a value

... this line:

my $first_novel = $novel_list->[$first_book];

does give a warning.

It does not give a warning, it fails to compile due to a fatal error from a stricture that was (wisely!) enabled (use strict; statement at start of code; see strict). You may say this is a trivial difference, but a warning is not fatal — unless you explicitly make it so!


Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2024-04-19 00:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found