On Tuesday, December 20, sri wrote: 
> >         $ cat mojo.p6 
> >         #!/usr/bin/env perl6 
> >
> >         use Mojolicious::Lite:from<Perl5>; 
> >
> >         app.routes.get: '/', -> $c { $c.render( :text("hello\n") ) }; 
> >
> >         app.start; 
> >
> 
> That doesn't even look good... Perl 6 is such a disappointment to me.

How about 

 use Mojolicious::Lite:from<Perl5>; 
 app.routes.get: '/', *.render: :text("hello\n"); 
 app.start; 

If not, any ideas for a slang that would improve the appearance? :)

Brian

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to