Re: [Catalyst] trouble with LocationMatch

2006-10-30 Thread Dave Howorth
Hironori Yoshida wrote: > -$base_path = $location; > +$self->apache->path_info =~ m/$location/msx; > +$base_path = $&;# I know this is the match-vars Programming Perl, Third Edition 24.2.1. Time Efficiency Avoid $& and its two buddies, $` and $'. Any occurrence in you

Re: [Catalyst] trouble with LocationMatch

2006-10-28 Thread Matt S Trout
Hironori Yoshida wrote: However, the patch is just a sample. I want the opinion about it. Without it including additions to the tests we've no idea what it does or whethr it works so can't really give you an opinion. Any chance of a test or three? -- Matt S Trout Offering custom

[Catalyst] trouble with LocationMatch

2006-10-28 Thread Hironori Yoshida
I have a problem when using to specify the location of Catalyst. When I use , $c->req->path and $c->req->base includes REGEXP. e.g. http://localhost:3000/%5E/.*$/ Environment: Catalyst: 5.008001 Apache: 2.2.2-1 (Cygwin) ModPerl: 2.0.2 I found the same problem in this ML. http://lists.rawmode.or