in reply to handling Perl Persistent Objects
Typically, you'd make a class representing the "Storage" that your objects go into, with methods allowing you to:
So wrap those around your storage mechanism and you'll find that the loop will be a little simpler. You might want to check out some of the object data persistence libraries out there; Tangram comes with my recommendation, but there's also Class::DBI, Alzabo, and a few others.
|
|---|