Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: RFC: REST.pm

by t'mo (Pilgrim)
on Nov 03, 2007 at 03:23 UTC ( [id://648757] : note . print w/replies, xml ) Need Help??


in reply to Re: RFC: REST.pm
in thread RFC: REST.pm

Thanks for the idea of looking at @+ and friend; $1 - $9 always bugged me too (though after having spent a little time hacking Forth, I flinch a little at any function that takes more than three parameters :-) , so the usefullness of actually having those extra parameters is lessened somewhat for me).

I agree on factoring out the common, rendering code. I've done that with my own projects, and put it into a utility REST::Dispatchable (not Renderer; I just came up with that name last night) class; I didn't include it here because I thought it might detract from the main subject.