Skip Menu |

This queue is for tickets about the parent CPAN distribution.

Report information
The Basics
Id: 66459
Status: resolved
Worked: 1 min
Priority: 0/
Queue: parent

People
Owner: Nobody in particular
Requestors: RMBarker [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.224
Fixed in: (no value)



Subject: Documentation of inherit from yourself warning
The "inherit from yourself" is triggered by C<package Foo; use parent 'Foo';> not C<use Foo; use parent 'Foo';> as stated in the documentation. Patch relative to blead.
Subject: 0015-parent.pm.patch
From 8749413c1344a5085459009cce2635c98973dcb1 Mon Sep 17 00:00:00 2001 From: Robin Barker <rmbarker@cpan.org> Date: Mon, 7 Mar 2011 23:09:51 +0000 Subject: [PATCH 15/16] parent.pm --- cpan/parent/lib/parent.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cpan/parent/lib/parent.pm b/cpan/parent/lib/parent.pm index bd67b0f..568bd96 100644 --- a/cpan/parent/lib/parent.pm +++ b/cpan/parent/lib/parent.pm @@ -102,7 +102,7 @@ either C<.pm> or C<.pmc>), use the following code: Attempting to inherit from yourself generates a warning. - use Foo; + package Foo; use parent 'Foo'; =back -- 1.7.0.4
Thanks, applied!