[Templates] Proposed patch for truncate()

Jonathan Rockway jon-perl-template@jrock.us
Sun, 25 Mar 2007 23:10:43 -0500


--nextPart5545067.m04YGiBfqy
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Thursday 22 March 2007 12:39, Clinton Gormley wrote:
> Hi all
>
> The truncate filter doesn't do what I would like it to do.

Why don't you implement it as a plugin/filter and then put it on CPAN for=20
other people to use?  Changing the behavior of features in point-releases i=
s=20
rarely a good idea.

Regards,
Jonathan Rockway

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

--nextPart5545067.m04YGiBfqy
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQCVAwUARgdHw9AZeFPdJeQvAQJGcAP+KXgZ7k2xEE8AgQDnE3bXJY04rJiLNoxf
1aNptiBc5SVrd96orZwkw9qrK4p+wVU61YxPc8OW3SPcNQdnTOMT+XcIJ6p8rXPI
9Uyrv6gt+oetPlgYiIIXVItPr9n/PQG2i1yzpOTKw1ykPxQ6+ooD8zvpg9Peg61V
YyJAwmyvVWQ=
=H2Zu
-----END PGP SIGNATURE-----

--nextPart5545067.m04YGiBfqy--