in reply to Re^3: need help with Tie::Judy
in thread need help with Tie::Judy
I'm trying to understand what is happen with the sample code LanX has provided...
The command tie %fruit_color, 'Tie::Judy'; ties the associative array* %fruit_color to the class. From this point on, when %fruit_color is used, instead of the default Perl behaviour, the implementation is handled by Tie::Judy which implements alternative methods to the default methods used by Perl. In this case it does the same thing in a different way.
Is that something like correct?
* I deliberately didn't refer to %fruit_color here as a hash because in this case it is a Judy Array which is not a hash but another example of the same type of storage.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: need help with Tie::Judy
by LanX (Saint) on Dec 06, 2020 at 02:00 UTC |