Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: A Growing Dislike for SQL-OOP Mappers

by markle (Initiate)
on Feb 11, 2008 at 22:17 UTC ( #667466=note: print w/ replies, xml ) Need Help??


in reply to A Growing Dislike for SQL-OOP Mappers

Why not just call SUPER::new() at the end of your new() override after doing your filesystem stuff instead of returning? Then you do not have to worry about how the ORM happens to handle things. In your specific example, why would you want to die if the directory exists? Just pass on and call SUPER::new(). Or spell it out as Class::DBI::new(), if you are using multiple bases. Stay out of its way instead?


Comment on Re: A Growing Dislike for SQL-OOP Mappers

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://667466]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2014-10-01 08:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (391 votes), past polls