Re: passing subroutine/Module

2006-02-16 Thread JupiterHost.Net
Timothy Johnson wrote: OO works, but is not exactly intuitive in Perl, so you'll have to decide if it's worth the steep learning curve. Funny, I'd say the opposite. Perl's OO seems, at this point to be intuitive and easy to learn. The curve is a slightly not straight line really. I think w

RE: passing subroutine/Module

2006-02-16 Thread Timothy Johnson
rsday, February 16, 2006 1:48 PM To: Perl Beginners Subject: passing subroutine/Module I have many HTML::Mason components that don't return content and are just used as functions (return a value). I would like to turn these into a set of subs in a module, preferably an OO module. I'

passing subroutine/Module

2006-02-16 Thread The Ghost
I have many HTML::Mason components that don't return content and are just used as functions (return a value). I would like to turn these into a set of subs in a module, preferably an OO module. I'm wondering what the best way to do this is. $m->comp('/path/to/component.mas', attr1 => "some