
jspath at pangeamedia
Mar 6, 2007, 6:14 AM
Post #8 of 8
(369 views)
Permalink
|
Hi Matt, I had considered that. I just wanted to check with the list before I went that route. Thanks! - Jim Matt Lawrence wrote: > Jim Spath wrote: >> I'm implementing tagging under Catalyst and want to be as >> unrestrictive as possible on the tag text. As such, I allow slashes >> in the tag text. >> >> To view information on a given tag, you hit the following path: >> >> /tag/URI_ESCAPED_TAG >> >> Which uses the following action in the Tag controller: >> >> sub view : PathPart('tag') Chained('/') Args { >> my ($self, $c, $tag) = @_; >> > How about: > > my ($self, $c, @tag_parts) = @_; > my $tag = join('/', @tag_parts); > > Matt -- Jim Spath Lead Developer Pangea Media Em: jspath[at]pangeamedia.com Ph: 617.314.6687 Fx: 617.390.7824 IM: panJimS (AIM) _______________________________________________ List: Catalyst[at]lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst[at]lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/
|