>>>>> "JP" == Jerrad Pierce <belg4...@pthbb.org> writes:
JP> Other than some abstract fear of tie, what's wrong with Interpolation? JP> As implemented, you could easily Memoize the subroutine you bind as your JP> handler. You can even easily bind two versions, one that memoizes and JP> another that does not. i am confused by your statement. i have no abstract fear of tied. it is just known to be slow and not needed here. why use a complex solution when simpler ones exist? and where did i say not to use interpolation? i said just use it in the best way. i am against eval for this, not interpolation. IMO the best solution is a hash of the method call results and interpolating the hash entries. but as i said, the OP has not stated the real top level requirements clearly. only some short comments about multiple methods and reusing objects were made. if that is cleared up then a best practice solution could be posited. uri -- Uri Guttman ------ u...@stemsystems.com -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- _______________________________________________ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm