In <http://bugs.debian.org/343099>, Anthony DeRobertis
<[EMAIL PROTECTED]> wrote:
> File: /usr/share/perl5/Heap/Elem.pm
> 
> The documentation reads, in part:
> 
>          sub new {
>              my $self = shift;
>              my $class = ref($self) &#9474;&#9474; $self;
> 
>              my $self = SUPER::new($class);
> 
>              # set $self->{key} = $value;
>          }
> 
> But, as explicitly documented in perlobj, that syntax does not work:

Additionally, you are declaring "my $self" twice, which doesn't work
either.  I would also value a bit more verbosity in the description of
how to access an element's value, from the Heap's perspective, and from
the user (or Heap::Elem subclass implementor's) perspective.

Furthermore, on Sat, 16 Dec 2006 11:41:12 -0500, John Macdonald
<[EMAIL PROTECTED]> wrote:
> Thank you for sending this on to me.  I'm away from home right
> now, it'll be a week or so before I will have the opportunity
> to investigate.

Any news on this, or did the week turn out to be an unusually longish
one ...? (-:

/* era */

-- 
If this were a real .signature, it would suck less.  Well, maybe not.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to