I've got this error:
Can't use an undefined value as an ARRAY reference at line ...(the foreach line...)
What's the meaning of the mentioned error?$self->{entries} = []; push(@{$self->{entries}}, { a => $a, b => $b}); my $entries = ''; foreach (my $i=0; $i<scalar(@{$self->{entries}}); $i++) { ... }
Mosh.
In reply to Can't use an undefined value as an ARRAY... by mosh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |