madM has asked for the wisdom of the Perl Monks concerning the following question:
I know that the error occurs when in the hash of hashes $A->{$key}->{$key2} the program encounters a 0 as value in $key2.. how can i skip that warning? any help would be really appreciatedUse of uninitialized value in printf at aprende3.pl line 590
foreach my $key (@aminos) { print OUT $key,' '; foreach my $key2 (@aminos ) { printf OUT ("$forprint " , $A->{$key}->{$key2}); } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: handling printf 0 error
by Anonymous Monk on Apr 29, 2014 at 10:41 UTC | |
by madM (Beadle) on Apr 29, 2014 at 10:50 UTC | |
|
Re: handling printf 0 error ( how can i skip that warning? Use of uninitialized value in printf )
by Anonymous Monk on Apr 29, 2014 at 10:31 UTC |