Welcome to the Monastery | |
PerlMonks |
Re: PDF::Table last pageby huck (Prior) |
on Apr 16, 2018 at 02:41 UTC ( [id://1212960]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|