![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: How to make unique entriesby kcott (Archbishop) |
on Jun 02, 2023 at 07:58 UTC ( #11152598=note: print w/replies, xml ) | Need Help?? |
"Is hashes the way to go?" Your choice of data structure will depend on a number of factors, such as how you want to store and retrieve the structure, how you want to access the data in the structure, and so on. Have a read of "Perl Data Structures Cookbook" to get an idea of what's available. Here's one possible way:
Output:
— Ken
In Section
Seekers of Perl Wisdom
|
|