Exposing SVN revision numbers.

Jonathan Rockway jon at jrock.us
Fri Oct 13 17:38:34 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:

http://trac.jrock.us/blog_software/browser/trunk/Angerwhale/Makefile.PL#L88

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

Regards,
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