Exposing SVN revision numbers.

Jonathan Rockway jon at jrock.us
Fri Oct 13 17:45:14 BST 2006

IvorW wrote:
> Doesn't play at all well with svk.

I expose the version number in Angerwhale by having Makefile.PL generate
a "revision.tt" that my other templates include.  I have some logic in
there that decides whether or not you're using svk, and acts accordingly:


A bit of a hack, but Good Enough For Me :)

Jonathan Rockway

package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;

More information about the london.pm mailing list