[Catalyst-dev] uri_for() with '0' value

Brian Cassidy brian.cassidy at nald.ca
Fri Feb 1 19:41:50 GMT 2008

Peter Karman wrote:
> Here's a failing test patch for uri_for against
> http://dev.catalyst.perl.org/repos/Catalyst/branches/current/Catalyst-Runtime

Hrmm, trunk [1] already seems to have a test against "0" in a path [2]:

     # test "0" as the path
     is( Catalyst::uri_for( $context, qw/0 foo/ )->as_string,
         '', '0 as path is ok'

It seems to pass just fine.


[1] http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Runtime/5.70/trunk

More information about the Catalyst-dev mailing list