A. Pagaltzis skribis 2006-09-20 22:01 (+0200):
> With roles in P6, you can even make this even simpler. You could
> make the HTML generator a role which can be composed onto any
> object that `does ParamQuery`.

I think it's time we moved away from the param method, and started using
a hash. In fact, two hashes, get and post.

    use Web <$web>;


    $web<foo>;   # shorthand form for $web.post<foo> // $web.get<foo>
korajn salutojn,

  juerd waalboer:  perl hacker  <[EMAIL PROTECTED]>  <http://juerd.nl/sig>
  convolution:     ict solutions and consultancy <[EMAIL PROTECTED]>

Reply via email to