NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
OIO Assistance (Score:1)
While OIO's POD does discuss some of the advantages of using the inside-out object model, it also lists several more involved discussions on the matter including Damian Conway's book Perl Best Practices.
OIO does provide methods for maintaining persistent data, bu
Re: (Score:2)
The number of places where it was needlessly complex and required copy and pasting where any sensible Class framework allows you to just specify the columns and have it DTRT.
"OIO does provide methods for maintaining persistent data, but not directly to a database. However,
@JAPH = qw(Hacker Perl Another Just);
print reverse @JAPH;
The Right Tool for the Job (Score:1)
It's not a requirement - it's optional. Cut out the regexes, and your preformance will go up (probably significantly). The regex option is there to provide greater programming flexibility if that is desired. As with any feature, if it's not needed, then don't use it.
"There is a great deal more to useful object persistence than a couple of SQL statements..."
The requirement to tie your objects to a database was evidently something the or
Re:The Right Tool for the Job (Score:2)
Class::Accessor and it's like allow me to specify my attributes in a single line, even Moose is less bizarre in how you specify attributes.
I'm surprised people would choose to use O::IO in production code, I certainly wouldn't use it out of choice and will probably be replacing it with DBIx::Class.
You are quite right - I don't think the original author chose the right tool, that's not O::IO's fault
@JAPH = qw(Hacker Perl Another Just);
print reverse @JAPH;
Reply to This
Parent