Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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

by AnomalousMonk (Bishop)
on Apr 30, 2019 at 03:58 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2020-10-30 01:53 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (277 votes). Check out past polls.