age-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 04, 2003 11:37 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: Perl OO Question: subclass using parent object's
> methods, not ove rridden methods?
>
>
> > -O
> -Original Message-
> From: Thomas, Mark - BLS CTR [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 04, 2003 11:28 AM
> To: Tillman, James; Thomas, Mark - BLS CTR;
> [EMAIL PROTECTED]
> Subject: RE: Perl OO Question: subclass using parent object's methods,
&g
> I think, perhaps, a little better description of
> what you're
> trying to accomplish with all this OOP might help others give
> you better
> advice. Maybe a high-level description of what's desired and
> what made you try OO in the first place?
OK, let me back up a little and give you some
> -Original Message-
> From: Thomas, Mark - BLS CTR [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 04, 2003 10:42 AM
> To: Tillman, James; Thomas, Mark - BLS CTR;
> [EMAIL PROTECTED]
> Subject: RE: Perl OO Question: subclass using parent object's methods,
&g
> It's necessary because by calling "bless" you are doing what
> should have
> been done in the missing object constructor I mentioned
> above. You are
> taking the reference and placing it in a different namespace (the
> My::Table::HTML namespace). Once you've done that, calls to
> the object
as, Mark - BLS CTR
> Cc: 'Tobias Hoellrich'; [EMAIL PROTECTED]
> Subject: Re: Perl OO Question: subclass using parent object's
> methods, not overridden methods?
>
>
> On 4/3/2003 4:15 PM, Thomas, Mark - BLS CTR wrote:
> >>Huh? Question is: how do you
> At 04:15 PM 4/3/2003 -0500, Thomas, Mark - BLS CTR wrote:
> >So my question boils down to this: Can I override methods
> that act on
> >the superclass' object, without having to instantiate a new object?
>
> And my question in response: Didn't my attached code accomplish that?
Your code insta
> -Original Message-
> From: Thomas, Mark - BLS CTR [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 03, 2003 3:01 PM
> To: [EMAIL PROTECTED]
> Subject: Perl OO Question: subclass using parent object's methods, not
> ove rridden methods?
>
>
> I have a
LIPS@EMEA1
cc:
Subject: Re: O
delete the reference itself:
delete $top->{_var}{name1};
I may be wrong or there may be a simpler way but this is what I would have done.
Regards, Magnus
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 28, 2003 11:00 AM
Subje
Hi all,
I've got a little object-oriented programming question:
I've built a class that recursively creates instances of itself,
storing them in itself.
$top = MyClass->new();
$top->{_var}{name1} = MyClass->new();
and so on, down a number of levels, creating a tree.
If I now delete one of the
> > I'm starting to get into OO programming with Perl and
> > have a question.
> >
> > As I understand it with OO - you create an object and
> > then do something to it.
> >
> > I have a list of values in an array and I wish to do
> > the same "something" to all of them.
> >
> > Do I need to crea
On Tue, 30 Jul 2002, [iso-8859-1] Nathan Rimmer wrote:
> I'm starting to get into OO programming with Perl and
> have a question.
>
> As I understand it with OO - you create an object and
> then do something to it.
>
> I have a list of values in an array and I wish to do
> the same "something" to
> -Original Message-
> From: Behalf Of Nathan Rimmer
>
>
> I'm starting to get into OO programming with Perl and
> have a question.
>
> As I understand it with OO - you create an object and
> then do something to it.
>
The definition of a object is data and behavior that affects that da
Title: RE: OO question
I think the answer is yes, you can do it all in one process. If I understand you correctly you want to know whether you can do something like this:
### BEGIN
use Nathan::Rimmers::Module;
my %array;
my $do = new Nathan::Rimmers::Module;
my $result = $do->someth
I'm starting to get into OO programming with Perl and
have a question.
As I understand it with OO - you create an object and
then do something to it.
I have a list of values in an array and I wish to do
the same "something" to all of them.
Do I need to create an object for each value in the
arr
16 matches
Mail list logo