Skip Menu |
 

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 78852
Status: rejected
Priority: 0/
Queue: Moose

People
Owner: Nobody in particular
Requestors: xenoterracide [...] gmail.com
Cc:
AdminCc:

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



From xenoterracide [...] gmail.com Wed Aug 8 17: 50:46 2012
MIME-Version: 1.0
X-Spam-Status: No, score=-4.793 tagged_above=-99.9 required=10 tests=[AWL=1.427, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
X-Spam-Flag: NO
Content-Type: text/plain; charset=UTF-8
Message-ID: <CAAHKNRF2tnqstDb48x==Kdh7tpY5Mvvb7R06-8qWibEzqaq5dA [...] mail.gmail.com>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -4.793
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 1501724060F for <cpan-bug+moose [...] hipster.bestpractical.com>; Wed, 8 Aug 2012 17:50:46 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T3h9lqvqgro2 for <cpan-bug+moose [...] hipster.bestpractical.com>; Wed, 8 Aug 2012 17:50:42 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 391A72404BC for <bugs-moose [...] rt.cpan.org>; Wed, 8 Aug 2012 17:50:40 -0400 (EDT)
Received: (qmail 17486 invoked by uid 103); 8 Aug 2012 21:50:39 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 8 Aug 2012 21:50:39 -0000
Received: from mail-yw0-f50.google.com (HELO mail-yw0-f50.google.com) (209.85.213.50) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Wed, 08 Aug 2012 14:50:33 -0700
Received: by yhjj63 with SMTP id j63so1357011yhj.9 for <bugs-moose [...] rt.cpan.org>; Wed, 08 Aug 2012 14:50:31 -0700 (PDT)
Received: by 10.60.172.236 with SMTP id bf12mr33213524oec.23.1344462630912; Wed, 08 Aug 2012 14:50:30 -0700 (PDT)
Received: by 10.60.9.194 with HTTP; Wed, 8 Aug 2012 14:50:30 -0700 (PDT)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+moose [...] hipster.bestpractical.com
Subject: Moose::Cookbook::Meta::Table_MetaclassTrait docs don't use right pathing
Return-Path: <xenoterracide [...] gmail.com>
X-RT-Mail-Extension: moose
X-Original-To: cpan-bug+moose [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=qX2HzCns/1cAg2zfFQrbusErQtgqiwR7n+f0i0Jay5M=; b=MfXSD3mgkKOIHmJJjswJGGtIk2kNBLnAcyRWjzA9QK7hnZ4U9Qst6dAXWETNtg5vUm T7p0V6oQd8eoRgzE5Ndtp//+h+gr7Osk4d/93APDGktM8U603yHiShC0uknjX3KjPSL/ m9YZSLQ1bjjE81KZaKdf+NRvYhXT8MEZ1rylO5Ml9/bQbNQGWxTjb+ndN+AbU6rDOUhF CwnDk8OlkvXSoFnDFjs00YjKgCR5fNxeL6dW1M5QA5JLyw1+KFmuGik3LYTNTEw9uiEU g5pP5DbVhP6UdTavLEFBgJdQmV7WtdHXv7DUnd1j4LJNXud9xVNHgCNHKEyZpxv5TsIM 6wSA==
Date: Wed, 8 Aug 2012 16:50:30 -0500
X-Spam-Level:
To: bugs-moose [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
X-RT-Original-Encoding: utf-8
Content-Length: 468
Download (untitled) / with headers
text/plain 468b
When trying to follow this recipe I got the error Can't locate Moose::Meta::Class::Custom::Trait::Type or Type in @INC I substituted MyApp for my actual app name and had the role named Type with a Type attribute instead of table, but otherwise the code is identical. renaming and moving to Moose::Meta::Custom::Trait::Type resolved the issue MyApp::Meta::Class::Trait::Type does not work (at least without another step ) -- Caleb Cushing http://xenoterracide.com
MIME-Version: 1.0
In-Reply-To: <CAAHKNRF2tnqstDb48x==Kdh7tpY5Mvvb7R06-8qWibEzqaq5dA [...] mail.gmail.com>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <CAAHKNRF2tnqstDb48x==Kdh7tpY5Mvvb7R06-8qWibEzqaq5dA [...] mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-26744-1344462851-836.78852-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 808
Download (untitled) / with headers
text/plain 808b
On Wed Aug 08 17:50:46 2012, XENO wrote: Show quoted text
> When trying to follow this recipe I got the error > > Can't locate Moose::Meta::Class::Custom::Trait::Type or Type in @INC > > I substituted MyApp for my actual app name and had the role named Type > with a Type attribute instead of table, but otherwise the code is > identical. renaming and moving to Moose::Meta::Custom::Trait::Type > resolved the issue > > MyApp::Meta::Class::Trait::Type does not work (at least without > another step )
I suspect the problem may be this, from the recipe text: RECIPE CAVEAT This recipe doesn't work when you paste it all into a single file. This is because the use Moose -traits => 'HasTable'; line ends up being executed before the table attribute is defined. When the two packages are separate files, this just works.
From xenoterracide [...] gmail.com Thu Aug 9 17: 28:01 2012
MIME-Version: 1.0
X-Spam-Status: No, score=-4.807 tagged_above=-99.9 required=10 tests=[AWL=1.413, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-26744-1344462852-660.78852-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-78852 [...] rt.cpan.org> <CAAHKNRF2tnqstDb48x==Kdh7tpY5Mvvb7R06-8qWibEzqaq5dA [...] mail.gmail.com> <rt-3.8.HEAD-26744-1344462852-660.78852-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <CAAHKNRHV++qyeW9v50r2geo_561XuUJBr0TMHLy2oBasc5L74Q [...] mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
X-RT-Original-Encoding: utf-8
X-Spam-Score: -4.807
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id DBE28240669 for <cpan-bug+Moose [...] hipster.bestpractical.com>; Thu, 9 Aug 2012 17:28:01 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6l5vXA5q0s94 for <cpan-bug+Moose [...] hipster.bestpractical.com>; Thu, 9 Aug 2012 17:28:00 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 0D90B240656 for <bug-Moose [...] rt.cpan.org>; Thu, 9 Aug 2012 17:27:59 -0400 (EDT)
Received: (qmail 24510 invoked by uid 103); 9 Aug 2012 21:27:58 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 9 Aug 2012 21:27:58 -0000
Received: from mail-ob0-f178.google.com (HELO mail-ob0-f178.google.com) (209.85.214.178) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Thu, 09 Aug 2012 14:27:55 -0700
Received: by obbwd20 with SMTP id wd20so1288630obb.9 for <bug-Moose [...] rt.cpan.org>; Thu, 09 Aug 2012 14:27:52 -0700 (PDT)
Received: by 10.60.172.236 with SMTP id bf12mr1141725oec.23.1344547672260; Thu, 09 Aug 2012 14:27:52 -0700 (PDT)
Received: by 10.60.9.194 with HTTP; Thu, 9 Aug 2012 14:27:52 -0700 (PDT)
Delivered-To: cpan-bug+Moose [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #78852] Moose::Cookbook::Meta::Table_MetaclassTrait docs don't use right pathing
Return-Path: <xenoterracide [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=dM3Il1W+aMb04wwrkpFG4SPd0QO3enAGaXAizksDp/w=; b=uX6MogxzIl7A7ns4DBMzmYKwGkm28lQukadmMIwB5RBQdh3o39EtQOIWV7culdK9L6 2llRpKxJhxjwkcdXaHyjxk0vVpVpmAQeizsjADDo0u/a05aVbfIpfmXN29IscgOdwLpG sCXqrXlpYfbtVx+3MMTob8hI4gQTN9E5okISo86fJCtFdwLXpk4vQ3Y5CExTWSgK2eaV zKQ6DnDz6mCc/weS3zOs0HgX5a61zkyiWPkZoEcWK7VCAQT9hguYof7/9mQGbMu1ioOD 1D+4oYrz9gh373sL43GC8RFcByBQsUUB8T60fkVomynFeUPuec8zWkfRS2JK+IWyC4Gd c4Ow==
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Moose [...] hipster.bestpractical.com
X-RT-Mail-Extension: moose
Date: Thu, 9 Aug 2012 16:27:52 -0500
X-Spam-Level:
To: bug-Moose [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
RT-Message-ID: <rt-3.8.HEAD-24801-1344547682-1416.78852-0-0 [...] rt.cpan.org>
Content-Length: 1230
Download (untitled) / with headers
text/plain 1.2k
On Wed, Aug 8, 2012 at 4:54 PM, Dave Rolsky via RT <bug-Moose@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=78852 > > > On Wed Aug 08 17:50:46 2012, XENO wrote:
>> When trying to follow this recipe I got the error >> >> Can't locate Moose::Meta::Class::Custom::Trait::Type or Type in @INC >> >> I substituted MyApp for my actual app name and had the role named Type >> with a Type attribute instead of table, but otherwise the code is >> identical. renaming and moving to Moose::Meta::Custom::Trait::Type >> resolved the issue >> >> MyApp::Meta::Class::Trait::Type does not work (at least without >> another step )
> > I suspect the problem may be this, from the recipe text: > > RECIPE CAVEAT > > This recipe doesn't work when you paste it all into a single file. This > is because the use Moose -traits => 'HasTable'; line ends up being executed before the table attribute is defined. > > When the two packages are separate files, this just works.
I had them as separate files, it did not recognize the MyApp prefix, the problem was the namespacing, moose was looking in a certain place for 'HasTable' and it wasn't MyApp. It was Moose::... Custom... Trait -- Caleb Cushing http://xenoterracide.com
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-24801-1344547682-1416.78852-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <RT-Ticket-78852 [...] rt.cpan.org> <CAAHKNRF2tnqstDb48x==Kdh7tpY5Mvvb7R06-8qWibEzqaq5dA [...] mail.gmail.com> <rt-3.8.HEAD-26744-1344462852-660.78852-6-0 [...] rt.cpan.org> <CAAHKNRHV++qyeW9v50r2geo_561XuUJBr0TMHLy2oBasc5L74Q [...] mail.gmail.com> <rt-3.8.HEAD-24801-1344547682-1416.78852-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-9651-1347816835-1046.78852-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1369
Download (untitled) / with headers
text/plain 1.3k
On Thu Aug 09 17:28:02 2012, XENO wrote: Show quoted text
> On Wed, Aug 8, 2012 at 4:54 PM, Dave Rolsky via RT > <bug-Moose@rt.cpan.org> wrote:
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=78852 > > > > > On Wed Aug 08 17:50:46 2012, XENO wrote:
> >> When trying to follow this recipe I got the error > >> > >> Can't locate Moose::Meta::Class::Custom::Trait::Type or Type in
> @INC
> >> > >> I substituted MyApp for my actual app name and had the role named
> Type
> >> with a Type attribute instead of table, but otherwise the code is > >> identical. renaming and moving to Moose::Meta::Custom::Trait::Type > >> resolved the issue > >> > >> MyApp::Meta::Class::Trait::Type does not work (at least without > >> another step )
> > > > I suspect the problem may be this, from the recipe text: > > > > RECIPE CAVEAT > > > > This recipe doesn't work when you paste it all into a single file.
> This
> > is because the use Moose -traits => 'HasTable'; line ends up being
> executed before the table attribute is defined.
> > > > When the two packages are separate files, this just works.
> > I had them as separate files, it did not recognize the MyApp prefix, > the problem was the namespacing, moose was looking in a certain place > for 'HasTable' and it wasn't MyApp. It was Moose::... Custom... Trait
Maybe you're missing this bit: Moose::Util::meta_class_alias('HasTable')
From xenoterracide [...] gmail.com Tue Sep 18 01: 55:57 2012
MIME-Version: 1.0
X-Spam-Status: No, score=-4.901 tagged_above=-99.9 required=10 tests=[AWL=1.319, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-9651-1347816836-485.78852-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-78852 [...] rt.cpan.org> <CAAHKNRF2tnqstDb48x==Kdh7tpY5Mvvb7R06-8qWibEzqaq5dA [...] mail.gmail.com> <rt-3.8.HEAD-26744-1344462852-660.78852-6-0 [...] rt.cpan.org> <CAAHKNRHV++qyeW9v50r2geo_561XuUJBr0TMHLy2oBasc5L74Q [...] mail.gmail.com> <rt-3.8.HEAD-24801-1344547682-1416.78852-6-0 [...] rt.cpan.org> <rt-3.8.HEAD-9651-1347816836-485.78852-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <CAAHKNREnSkzvdC6pt-GvYLWKxfQw8yt3uJ-ZnTJLEjmjXXJsOA [...] mail.gmail.com>
Content-Type: multipart/mixed; boundary=e89a8f5028be9ab3b704c9f38a78
X-Spam-Score: -4.901
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
X-Amavis-Hold: Exceeded storage quota 9457500 bytes by do_pax_cpio/pre; last chunk 399431976422 bytes
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 70A452407F0 for <cpan-bug+Moose [...] hipster.bestpractical.com>; Tue, 18 Sep 2012 01:55:57 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jspqs2C1dSjL for <cpan-bug+Moose [...] hipster.bestpractical.com>; Tue, 18 Sep 2012 01:55:56 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id CB246240021 for <bug-Moose [...] rt.cpan.org>; Tue, 18 Sep 2012 01:55:54 -0400 (EDT)
Received: (qmail 1539 invoked by uid 103); 18 Sep 2012 05:55:53 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 18 Sep 2012 05:55:53 -0000
Received: from mail-ob0-f178.google.com (HELO mail-ob0-f178.google.com) (209.85.214.178) by 16.mx.develooper.com (qpsmtpd/0.84/v0.84-167-g4ed6cab) with ESMTP; Mon, 17 Sep 2012 22:55:49 -0700
Received: by obbwd20 with SMTP id wd20so10785241obb.9 for <bug-Moose [...] rt.cpan.org>; Mon, 17 Sep 2012 22:55:46 -0700 (PDT)
Received: by 10.182.131.98 with SMTP id ol2mr13866509obb.69.1347947746472; Mon, 17 Sep 2012 22:55:46 -0700 (PDT)
Received: by 10.60.102.3 with HTTP; Mon, 17 Sep 2012 22:55:46 -0700 (PDT)
Delivered-To: cpan-bug+Moose [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #78852] Moose::Cookbook::Meta::Table_MetaclassTrait docs don't use right pathing
Return-Path: <xenoterracide [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ETZAl6Qla1Dk5zklCuGodG4YO8SY0kve7P/m3RjhIFk=; b=YhUur1hia4aKVg+wVaFfuRCRoEf/FyBTIIFYphIbZJKdGz0x5LS1Xnlss5KUVzR72C 3ThjxNcqZWxHGBJCoCoW7RVsK2xAHws3zYveU0D9Ag0zi7jHSy1ITM4vDlWiw5s8j4ij BpCHqGCVtMxGuXkjIhP0s8hYPOaB7U2QYLdOvaBPnlXV4nzTyz13DZAy4420B8kB+nMf J+hQo6eBZdmzPEqDkVk8LqQV3zWGK8t05e3ARCGbTlFj2V1ZzeDQr029GYij6hgs8wkO rzsclKwhu7qm2ibL8IDQbyRIwY+J5UwR3HlgC6/3zBB2QN0fM4XNmWyyXL1I8U766EE8 aOOA==
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Moose [...] hipster.bestpractical.com
X-RT-Mail-Extension: moose
Date: Tue, 18 Sep 2012 00:55:46 -0500
X-Spam-Level:
To: bug-Moose [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
RT-Message-ID: <rt-3.8.HEAD-15682-1347947758-897.78852-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset=UTF-8
X-RT-Original-Encoding: utf-8
Content-Length: 2425
Download (untitled) / with headers
text/plain 2.3k
no, I copied and pasted attaching a test tarball, please tell me what I am doing wrong. # run from tarball root prove -lv slave-iv t/test.t .. Can't locate Moose::Meta::Class::Custom::Trait::HasTable or HasTable in @INC (@INC contains: /home/xenoterracide/test/lib /home/xenoterracide/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1/x86_64-linux /home/xenoterracide/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1 /home/xenoterracide/perl5/perlbrew/perls/perl-5.16.1/lib/5.16.1/x86_64-linux /home/xenoterracide/perl5/perlbrew/perls/perl-5.16.1/lib/5.16.1 .). at /home/xenoterracide/test/lib/MyApp/User.pm line 3. BEGIN failed--compilation aborted at /home/xenoterracide/test/lib/MyApp/User.pm line 3. Compilation failed in require at t/test.t line 6. On Sun, Sep 16, 2012 at 12:33 PM, Dave Rolsky via RT <bug-Moose@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=78852 > > > On Thu Aug 09 17:28:02 2012, XENO wrote:
>> On Wed, Aug 8, 2012 at 4:54 PM, Dave Rolsky via RT >> <bug-Moose@rt.cpan.org> wrote:
>> > <URL: https://rt.cpan.org/Ticket/Display.html?id=78852 > >> > >> > On Wed Aug 08 17:50:46 2012, XENO wrote:
>> >> When trying to follow this recipe I got the error >> >> >> >> Can't locate Moose::Meta::Class::Custom::Trait::Type or Type in
>> @INC
>> >> >> >> I substituted MyApp for my actual app name and had the role named
>> Type
>> >> with a Type attribute instead of table, but otherwise the code is >> >> identical. renaming and moving to Moose::Meta::Custom::Trait::Type >> >> resolved the issue >> >> >> >> MyApp::Meta::Class::Trait::Type does not work (at least without >> >> another step )
>> > >> > I suspect the problem may be this, from the recipe text: >> > >> > RECIPE CAVEAT >> > >> > This recipe doesn't work when you paste it all into a single file.
>> This
>> > is because the use Moose -traits => 'HasTable'; line ends up being
>> executed before the table attribute is defined.
>> > >> > When the two packages are separate files, this just works.
>> >> I had them as separate files, it did not recognize the MyApp prefix, >> the problem was the namespacing, moose was looking in a certain place >> for 'HasTable' and it wasn't MyApp. It was Moose::... Custom... Trait
> > Maybe you're missing this bit: > > Moose::Util::meta_class_alias('HasTable') >
-- Caleb Cushing http://xenoterracide.com
content-type: application/x-gzip; name="test.tar.gz"
X-Attachment-ID: f_h78la2xc0
content-disposition: attachment; filename="test.tar.gz"
Content-Transfer-Encoding: base64
Content-Length: 9886
Download test.tar.gz
application/x-gzip 9.6k

Message body not shown because it is not plain text.

MIME-Version: 1.0
In-Reply-To: <CAAHKNRF2tnqstDb48x==Kdh7tpY5Mvvb7R06-8qWibEzqaq5dA [...] mail.gmail.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CAAHKNRF2tnqstDb48x==Kdh7tpY5Mvvb7R06-8qWibEzqaq5dA [...] mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.16-2035-1377732518-1674.78852-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 256
Download (untitled) / with headers
text/plain 256b
You actually have to load the trait if you are putting them in separate classes. If the trait isn't loaded, the meta_class_alias function will never be called, and so it won't be registered. In a real extension, this would typically happen in the exporter.


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.