Don't you need to dereference self?
my %loc_array = %{ $self };
or just use Data::Dumper?
use Data::Dumper;
print $self;
On Mon, Oct 5, 2009 at 12:21 PM, Steve Cookson wrote:
> Hi All,
>
> Is there some way I can cycle through the object model of the object
> we all know and love as '$self'
--- On Mon, 10/5/09, Steve Cookson wrote:
> From: Steve Cookson
> Subject: wxWidgets Object Model
> To: wxperl-users@perl.org
> Date: Monday, October 5, 2009, 11:21 AM
> Hi All,
>
> Is there some way I can cycle through the object model of
> the object
> we
Hi All,
Is there some way I can cycle through the object model of the object
we all know and love as '$self'?
I've tried using:
my %loc_array = $self;
while ( (my $k,my $v) = each %loc_array ) {
print "$k => $v\n";
}
But I just get one entry. Does anyone hav