in reply to Re^4: Mojo 0.7 released (Perl on Rails in 150 lines of code)
in thread Mojo 0.7 released (Perl on Rails in 150 lines of code)

Nice. Although without the explanation I would read $x->route('/:action')->to(action => 'test'); as meaning that now everything would go to test. Even now I am not so sure if I understood it correctly - and that it only means that uris without a matching action part would end up there.

Replies are listed 'Best First'.
Re^6: Mojo 0.7 released (Perl on Rails in 150 lines of code)
by sri (Vicar) on Oct 21, 2008 at 11:59 UTC
    Try not to think too complicated. :)
    It basically just passes around a hash that gets decorated with captures and/or defaults, thats it.