[Melbourne-pm] Invalid use of Exporter as a parent of a class
scottp at dd.com.au
Wed Nov 28 19:07:40 PST 2012
> Not sure who the "we" is who often create modules like CGI. Personally I think that CGI is in error, and that modules that should blur the lines between OO and imperative use are few and far between. But otherwise this is a workable alternative.
s/we/I/g - sorry
I just mean if you have a simple module like 'use JSON' it is valid to have it be both. Alternatives would be to have a base module, then one with exporter and one with OO, seems overkill.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5928 bytes
Desc: not available
More information about the Melbourne-pm