Skip Menu |
 

This queue is for tickets about the NEXT CPAN distribution.

Report information
The Basics
Id: 9734
Status: resolved
Priority: 0/
Queue: NEXT

People
Owner: NEILB [...] cpan.org
Requestors: mleblanc [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: 0.67



Subject: Documentation bug
Download (untitled) / with headers
text/plain 301b
The first example in the pod uses package B. Since package B has special meaning to perl, the inheritance tree is broken (@B::isa will contain Exporter instead of A). Merely renaming the package to pretty much anything else will fix it. For reference: http://www.perlmonks.org/index.pl?node_id=422324
Date: Sat, 15 Jan 2005 12:58:47 +1100
From: Damian Conway <damian [...] conway.org>
To: bug-NEXT [...] rt.cpan.org
Subject: Re: [cpan #9734] Documentation bug
RT-Send-Cc:
Download (untitled) / with headers
text/plain 383b
Thanks! That'll teach me to use one-letter names (even in examples!) Show quoted text
> The first example in the pod uses package B. Since package B has special meaning to perl, the inheritance tree is broken (@B::isa will contain Exporter instead of A). Merely renaming the package to pretty much anything else will fix it. > > For reference: http://www.perlmonks.org/index.pl?node_id=422324 >
Download (untitled) / with headers
text/plain 179b
I've fixed the example in the SYNOPSIS, by renaming the classes. I didn't change the latest examples that use A, B, C, etc, as I think they're fine to leave as is. Cheers, Neil


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.