[Catalyst] Re: So, what do we want in the -next- book?

Lance A. Brown lance at bearcircle.net
Fri Apr 4 17:22:46 BST 2008


Ash Berlin said the following on 4/4/2008 8:37 AM:
> Moose is in there for InstancePerContext, so that you can do:
> 
> $c->model('File')->cd('foo/bar');
> $c->model('File'')->slurp('file.txt');
> 
> to access the contents of $configured_root_dir/foo/bar/file.txt.
> 
> I could have written the ACCEPT_CONTEXT sub myself, but DRY and all that.

And I'd like to say a nice public "Thank You!" for writing C::M::File. 
It made an app I'm writing much easier. :-)

--[Lance]

-- 
  GPG Fingerprint: 409B A409 A38D 92BF 15D9 6EEE 9A82 F2AC 69AC 07B9
  CACert.org Assurer



More information about the Catalyst mailing list