[Catalyst] Sharing code / Feedback request: TT macro for uri_for([current uri]); same page links

Jonathan Rockway jon at jrock.us
Sun Oct 22 05:13:41 CEST 2006


On Saturday 21 October 2006 20:46, apv wrote:
> Something common that irritates me on sites is links on a page which
> point to the page they're on.

Here's a way that doesn't require javascript.

http://blog.jrock.us/articles/Quantum Physics and the Template Toolkit.pod

-- 
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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20061021/db182dfc/attachment.pgp 


More information about the Catalyst mailing list