Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The developer mistakenly left out the \ indicator when initializing $array_ref. Consequently, instead of a reference to the array, it contains the number of elements in the array. When passed to the print_array() subroutine, this program prints an empty array.

...

Tool

Diagnostic

B::Lint

context

Bibliography

...

"Lists," p. 71
[Wall 2011]perlfunc

 

...

Image Modified Image Modified Image Modified