Bill Moseley wrote:

Yes, when tested in Perl it works that way, but in Catalyst in other
cases it still matches.  That's the problem.

Seems that Catalyst first tries to match the full path, then tries to
match a reduced path.  Adding a bit of debugging to Regex.pm's match()
method:

    Request = /training/webcasts/webcast_data/162/foo.html

    Checking [training/webcasts/webcast_data/162/foo.html]
    Checking [training/webcasts/webcast_data/162]
    *MATCHED*

So that's why it's matchine when I don't want it to match.



This isn't a case that Args(0) would fix, is it?

Best,
Brian

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to