in reply to Re^2: Struggling with complex data structures and doing useful operations on their elements and populating from arrays in thread Struggling with complex data structures and doing useful operations on their elements and populating from arrays
FYI, about the uniqueness in the array and sorting algorithm, you can use a prolog-like system to build your %pets. The trick is to negate clauses which are true so that your system inferes faster. It's a bit over the top but here's the stuff on CPAN : https://metacpan.org/search?q=prolog
|