in reply to Re^3: Dealing with abstract methods in Perl 5.8
in thread Dealing with abstract methods in Perl 5.8

You got a point with END block... I didn't thought about the performance penalty that might occurs if lots of objects are used (even thought this kind of issue should happen only during developing time).

One thing that occurred me: using END blocks will not be an issue if the program is being executed as persistent way like a server or thru mod_perl, for example?

Alceu Rodrigues de Freitas Junior
---------------------------------
"You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill
  • Comment on Re^4: Dealing with abstract methods in Perl 5.8

Replies are listed 'Best First'.
Re^5: Dealing with abstract methods in Perl 5.8
by samtregar (Abbot) on Apr 25, 2007 at 16:55 UTC
    You're right about the mod_perl problem with END blocks. One solution there is to offer a method people can call from a PerlLogHandler, which will run at the end of each request.

    -sam