We don't bite newbies here... much | |
PerlMonks |
Re: How to connect more arrays to a new arrayby Abigail-II (Bishop) |
on Apr 28, 2003 at 06:22 UTC ( [id://253602]=note: print w/replies, xml ) | Need Help?? |
Ah, the solution from the FAQ. Unfortunally, the FAQ is wrong.
Here's one array where the FAQ solution will give the wrong
answer:
Ooops. The FAQ assumes the values map to unique strings. But that isn't true, the undefined value maps to an empty string. And then I haven't shown examples with references, tied variables or objects with overloaded stringification that all can cause the FAQ solution to give the wrong results. Abigail
In Section
Seekers of Perl Wisdom
|
|