in reply to Re: Packages, references, & data hiding...
in thread Packages, references, & data hiding...
What I was hoping for, is a way to return the hash of buddys instead of the reference to the hash. Sort of how the Identites method returns the actual array instead of the reference to one.
Then I could do something like:
my %buddys = $p->BuddyList; foreach my $key (keys %buddys) { print "GROUP: key\n"; print "NAMES: ", join (' ', @{$buddys{$key}}), "\n"; }
I guess it is about the same, just take me one step closer to the data and remove the use of one $
Thanks for the suggestions.
zzSPECTREz
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Packages, references, & data hiding...
by SamQi (Beadle) on Dec 04, 2000 at 01:52 UTC | |
|
Re: Re: Re: Packages, references, & data hiding...
by arturo (Vicar) on Dec 04, 2000 at 06:04 UTC | |
|
Re: Re: Re: Packages, references, & data hiding...
by repson (Chaplain) on Dec 04, 2000 at 06:52 UTC |