RE: Calling SUPER::constructor in the constructor
From: Dan Muey (dmuey_at_infiniplex.com)
Date: 01/22/04
- Next message: Dan Muey: "RE: Upload files and directories"
- Previous message: Ned Cunningham: "Backup scheme"
- Maybe in reply to: Dan Anderson: "Calling SUPER::constructor in the constructor"
- Next in thread: James Edward Gray II: "Re: Calling SUPER::constructor in the constructor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 22 Jan 2004 11:15:44 -0600 To: "Dan Anderson" <dan@mathjunkies.com>, "Perl Beginners" <beginners@perl.org>
> Is it possible to call the constructor that a function
> inherits from its parent? I tried calling SUPER:: and
> SUPER-> in a constructor and got errors. Am i correct in
> assuming that if I rewrite the constructor that a copy of the
> parent object won't be available?
>
Perhaps some example of your code. Also I can do DBI->connect(..) or DBI::connect and it works.
Why not look at that and see how DBI does it?
Sorry it's not more helpful, but without more details....
HTH
DMuey
> Thanks in advance,
>
> Dan
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> For additional commands, e-mail: beginners-help@perl.org
<http://learn.perl.org/> <http://learn.perl.org/first-response>
- Next message: Dan Muey: "RE: Upload files and directories"
- Previous message: Ned Cunningham: "Backup scheme"
- Maybe in reply to: Dan Anderson: "Calling SUPER::constructor in the constructor"
- Next in thread: James Edward Gray II: "Re: Calling SUPER::constructor in the constructor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|