[Melbourne-pm] Invalid use of Exporter as a parent of a class

Scott Penrose 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.

Scott

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5928 bytes
Desc: not available
URL: <http://mail.pm.org/pipermail/melbourne-pm/attachments/20121129/41b3d431/attachment.bin>


More information about the Melbourne-pm mailing list