in reply to Re^2: Altering Package Subs and Running In To Problems
in thread Altering Package Subs and Running In To Problems

That's true, but the author of Sybase::DBlib has said on a number of occasions that it is very hard to subclass for a number of reasons. This can be confirmed by trying!

Apparently the latest version which either just got to CPAN or is just about to includes some changes which will make subclassing easier.

So if all you want to do is, say, add a few methods - then something like I suggested is a good way to do it.

In most situations your advice is, of course, correct.

  • Comment on Re^3: Altering Package Subs and Running In To Problems

Replies are listed 'Best First'.
Re^4: Altering Package Subs and Running In To Problems
by mpeppler (Vicar) on Nov 12, 2004 at 13:44 UTC
    Err - I think you're confusing DBI and Sybase::DBlib...

    As I'm the author of Sybase::DBlib I suppose I should know :-)

    Michael

      Heh. Well, I wasn't confusing the two, but yes I suppose you should know!

      I'm sure I saw a mailing list message from you saying that SybaseDBlib was hard to subclass for unspecified reasons, but that newer versions would be better?

      Not that it matters...