Shawn McKinley wrote:
> Hello all,
> I am wondering if you can have object inherited between
> packages when the child packages have their own object
> creation without explicitly setting the parent object in
> the child? Is there a way to inherit the parent object?
> Example below (sorry for t
mailto:[EMAIL PROTECTED]
> Sent: Monday, January 05, 2004 7:20 PM
> To: drieux
> Cc: Perl Beginners Mailing List
> Subject: Re: Sharing instances of objects between packages
>
>
> On Jan 5, 2004, at 6:30 PM, drieux wrote:
>
> >
> > On Jan 5, 2004, at 2:51 PM, James
> "Shawn" == Shawn McKinley <[EMAIL PROTECTED]> writes:
Shawn> I am wondering if you can have object inherited between
Shawn> packages when
Objects don't get inherited. Objects inherit methods (subroutines)
from other classes (packages). Can you recast your question using
terminology tha
On Jan 5, 2004, at 6:30 PM, drieux wrote:
On Jan 5, 2004, at 2:51 PM, James Edward Gray II wrote:
sub new {
my $class = shift;
my $self = $class->SUPER::new( @_ }; # call class A constructor
--^
oopsie should have been a ")"
Good catch. Sorry
On Jan 5, 2004, at 2:51 PM, James Edward Gray II wrote:
On Jan 5, 2004, at 2:44 PM, Shawn McKinley wrote:
Hello all,
I am wondering if you can have object inherited between
packages when the child packages have their own object
creation without explicitly setting the parent object in
the child?
On Jan 5, 2004, at 2:44 PM, Shawn McKinley wrote:
Hello all,
I am wondering if you can have object inherited between
packages when the child packages have their own object
creation without explicitly setting the parent object in
the child? Is there a way to inherit the parent object?
Example be
On Jan 5, 2004, at 12:44 PM, Shawn McKinley wrote:
Hello all,
I am wondering if you can have object inherited between
packages when the child packages have their own object
creation without explicitly setting the parent object in
the child? Is there a way to inherit the parent object?
Example b
Hello all,
I am wondering if you can have object inherited between
packages when the child packages have their own object
creation without explicitly setting the parent object in
the child? Is there a way to inherit the parent object?
Example below (sorry for the length).
TIA,
Shawn
A.pm
pac