Hi,
Use a global. If your field is called 'Foo', use:
leadingzero_foo =>
and then just use <%leadingzero_foo%> in your template.
Cheers,
Alex
--
Gossamer Threads Inc.
Use a global. If your field is called 'Foo', use:
leadingzero_foo =>
Code:
sub { return sprintf ("%05d", $_[0]->{Foo}); }and then just use <%leadingzero_foo%> in your template.
Cheers,
Alex
--
Gossamer Threads Inc.