Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by Lady_Aleena (Priest)
on Apr 30, 2019 at 10:29 UTC ( [id://1233179]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for my $key (keys %$characters) {
      my $character = $characters->{$key};
    ...
    
    # about 30 more lines of code to munge the data
    }
    
  2. or download this
    my $characters = {
      Bink => {
    ...
        book => '0',
      },
    };
    
  3. or download this
    character_tests.pl: Use of uninitialized value in split at character_t
    +ests.pl line 132
    character_tests.pl: Use of uninitialized value $first_book in pattern 
    +match (m//) at character_tests.pl line 134
    character_tests.pl: Use of uninitialized value $first_book in pattern 
    +match (m//) at character_tests.pl line 134
    character_tests.pl: Use of uninitialized value $first_book in substitu
    +tion (s///) at character_tests.pl line 135
    character_tests.pl: Use of uninitialized value $first_book in array el
    +ement at character_tests.pl line 136
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-25 05:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found