[Catalyst-dev] PATCH for Catalyst::Plugin::ConfigLoader
Jonathan Rockway
jon at jrock.us
Wed Aug 22 02:05:02 GMT 2007
Sorry to hijack this thread... but it reminded me... something I've been
wanting for a while is:
$c->config->{substitutions} =3D {
foo =3D> sub { bar($_[0]) . baz($_[1]) }
...
}
Then in the config file:
hello: __foo(Hello,World)__
...
Basically, let me specify my own macros in addition to (or overriding)
__HOME__ and __path_to()__. I'll write this, but if you want to do it
instead, all the better :)
Regards,
Jonathan rockway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 370 bytes
Desc: OpenPGP digital signature
Url : http://lists.scsys.co.uk/pipermail/catalyst-dev/attachments/20070821/=
2797f93e/signature.pgp
More information about the Catalyst-dev
mailing list