in reply to PDF::Table last page
You have neglected to show us sample data tho. scalar(@$data) also would fail if $data was an EMPTY array.
(ref($data) eq 'ARRAY') per http://perldoc.perl.org/functions/ref.html would fail if $data is a blessed object. If the referenced object has been blessed into a package, then that package name is returned instead.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: PDF::Table last page
by PierreForget (Acolyte) on Apr 16, 2018 at 14:21 UTC |