forgot to CC the list
-- Forwarded message --
From: Chris Prather [EMAIL PROTECTED]
Date: Thu, Nov 13, 2008 at 1:12 PM
Subject: Re: MooseX::Role::TTSelf
To: Ian Sillitoe [EMAIL PROTECTED]
On Thu, Nov 13, 2008 at 1:01 PM, Ian Sillitoe
[EMAIL PROTECTED] wrote:
Hi Chris
Template file. I
did a quick search and couldn't see anything obvious that already did this -
anyone have any comments/suggestions?
Cheers,
Ian
MODULE
MooseX::Role::TTSelf
SYNOPSIS
Farm/Cow.pm
package Farm::Cow;
use Moose;
with 'MooseX::Role::TTSelf';
has 'spots
On Thu, Nov 13, 2008 at 05:37:27PM +, Ian Sillitoe wrote:
Farm/Cow.t
.t is probably not a great extension, since most people will associate that
with test files.
.tt or .tt2 are common.
hdp.
that already did this -
anyone have any comments/suggestions?
Cheers,
Ian
MODULE
MooseX::Role::TTSelf
SYNOPSIS
Farm/Cow.pm
package Farm::Cow;
use Moose;
with 'MooseX::Role::TTSelf';
has 'spots' = ( is = 'rw' );
sub moo { Mooo }
Farm/Cow.t
This cow has [% self.spots
Hi Chris,
Actually I just released an alpha version of something that could do
exactly this, but I'm using it for a completely different purpose
http://search.cpan.org/src/PERIGRIN/XML-Toolkit-0.02/lib/XML/Filter/Moose/ClassTemplate.pm
Cool - looks pretty similar to the code I've got here.