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 Lady_Aleena (Curate)
on Apr 30, 2019 at 10:29 UTC ( #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
Node Status?
node history
Node Type: note [id://1233179]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2019-10-17 06:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?