>
> Hello Li
>
> About the _permitted hash key, the perltoot tutorial
> says
>
> + I could have avoided the "_permitted" field
> entirely, but I wanted to
> + demonstrate how to store a reference to class data
> on the object so you
> + wouldn't have to access that class data directly
> from an
> Why didn't you test what happens when you do that?
> What happens when you
> create three different objects and manipulate them?
> What happens with
> those object when you go back to the original code?
Actually before I post it I already check what happen.
It looks like there are NO differe
On 09/24/2006 12:35 PM, chen li wrote:
--- "Mumia W." <[EMAIL PROTECTED]>
wrote:
On 09/22/2006 07:50 AM, chen li wrote:
--- "Mumia W."
<[EMAIL PROTECTED]>
wrote:
That "redundancy" allows you to use inheritance.
If
you have a class
Employee, with an expanded set of fields, this
method ma
chen li wrote:
>
> --- "Mumia W." <[EMAIL PROTECTED]>
> wrote:
>
>
>>On 09/22/2006 07:50 AM, chen li wrote:
>>
>>>--- "Mumia W."
>>
>><[EMAIL PROTECTED]>
>>
>>>wrote:
>>>
That "redundancy" allows you to use inheritance.
>>
>>If
>>
you have a class
Employee, with an expanded set of fiel
--- "Mumia W." <[EMAIL PROTECTED]>
wrote:
> On 09/22/2006 07:50 AM, chen li wrote:
> >
> > --- "Mumia W."
> <[EMAIL PROTECTED]>
> > wrote:
> >> That "redundancy" allows you to use inheritance.
> If
> >> you have a class
> >> Employee, with an expanded set of fields, this
> >> method makes it p
On 09/22/2006 07:50 AM, chen li wrote:
--- "Mumia W." <[EMAIL PROTECTED]>
wrote:
That "redundancy" allows you to use inheritance. If
you have a class
Employee, with an expanded set of fields, this
method makes it possible
to add the fields without having to modify each
method that uses them.
--- "Mumia W." <[EMAIL PROTECTED]>
wrote:
> On 09/21/2006 07:08 PM, chen li wrote:
> > Hi all,
> >
> > I read some sections in perltoot. In section
> > Autoloaded Data Methods I see some line codes as
> > following:
> >
> > package Person;
> > use Carp;
> > our $AUTOLOAD; # i
On 09/21/2006 07:08 PM, chen li wrote:
Hi all,
I read some sections in perltoot. In section
Autoloaded Data Methods I see some line codes as
following:
package Person;
use Carp;
our $AUTOLOAD; # it's a package global
my %fields = (
name=> undef,
Hi all,
I read some sections in perltoot. In section
Autoloaded Data Methods I see some line codes as
following:
package Person;
use Carp;
our $AUTOLOAD; # it's a package global
my %fields = (
name=> undef,
age => undef,