Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Use of uninitialized value $_ in pattern match (m//)

by perlfan (Curate)
on Mar 09, 2016 at 17:52 UTC ( #1157196=note: print w/replies, xml ) Need Help??


in reply to Re: Use of uninitialized value $_ in pattern match (m//)
in thread Use of uninitialized value $_ in pattern match (m//)

For that matter, initialize

my @net_configs = ();

Replies are listed 'Best First'.
Re^3: Use of uninitialized value $_ in pattern match (m//)
by AnomalousMonk (Chancellor) on Mar 09, 2016 at 18:24 UTC
    ... initialize my @net_configs = ();

    Why? What would  @net_configs look like if one were to depend on the default initialization of a newly-created lexical array?


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2018-12-14 11:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many stories does it take before you've heard them all?







    Results (67 votes). Check out past polls.

    Notices?