Subject: | observation about resource method |
Date: | Wed, 21 Jan 2015 11:43:40 +0100 |
To: | bug-PDF-API2 [...] rt.cpan.org |
From: | Marc Lehmann <schmorp [...] schmorp.de> |
While perusing the source code for PDF::API2, I saw that the resource method
has a peculiar implementation:
sub resource
{
return(undef);
my ($self, $type, $key, $obj, $force) = @_;
... lots of dead code
i.e. it always returns undef. I haven't checked for any interesting things
going on (such as this method somehow being overriden elsewhere), just
thought to bring it to your attention in case some debugging code was left
over.
Greetings,
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp@schmorp.de
-=====/_/_//_/\_,_/ /_/\_\