# My Set Method sub set_hshAgg { my $self = shift; my %hshAgg = shift; <-------- use of % $self->{hshAgg} = %hshAgg; } # Your Set Method sub set_hshAgg { my $self = shift; my $hshAgg = shift; <-------- use of $ $self->{hshAgg} = %hshAgg; }
Thanks for your reply :)
-P0w3rK!d
In reply to Re: Re: Re: Re: OO Perl: Methods To Reference Hash
by P0w3rK!d
in thread OO Perl: Methods To Reference Hash
by P0w3rK!d
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |