Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Dev

Small doc patch

 

 

Catalyst dev RSS feed   Index | Next | Previous | View Threaded


domm at cpan

May 21, 2009, 3:57 AM

Post #1 of 2 (1277 views)
Permalink
Small doc patch

Hi!

I just had some problems figuring out how to exactly load Moose and
inherit from Catalyst::Controller in my controller classes. After some
help on IRC I figured it out (at least I hope I did [1]..), and got talked
into submitting a doc patch. Which is attached, and basically only moves
around some sections of Catalyst/Upgrading.pod, plus adds a new section
'Using Moose in Components' (which again only repeats stuff that's
already there, so you might as well drop it).

If all of this should better go to Catalyst::Manual, I'll try to locate
a place there where to add this info.


1:
package MyApp::Controller::Foo;
use Moose;
BEGIN { extends qw(Catalyst::Controller) }
with qw(Some::Role);


--
#!/usr/bin/perl http://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
Attachments: small_moose_doc.patch (2.56 KB)


bobtfish at bobtfish

May 26, 2009, 1:49 PM

Post #2 of 2 (1140 views)
Permalink
Re: Small doc patch [In reply to]

On 21 May 2009, at 11:57, Thomas Klausner wrote:
> I just had some problems figuring out how to exactly load Moose and
> inherit from Catalyst::Controller in my controller classes. After some
> help on IRC I figured it out (at least I hope I did [1]..), and got
> talked
> into submitting a doc patch.

This was applied in r10137.

Many thanks for the patch, and apologies that this took a while
(mostly as I forgot to respond to this email till it was pointed out
in a -Manual roundup)!

Cheers
t0m


_______________________________________________
Catalyst-dev mailing list
Catalyst-dev [at] lists
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev

Catalyst dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.