in reply to help with a function that will cut out redundancy across two lists

I can't speak to the quality of the Sams Learn Perl in 21 Days today, but if it's as it was about a decade ago, these suggestions may be helpful:

  1. Check the on-line errata when the material 'taught' before an exercise or problem "just doesn't work."
  2. Recheck against a reliable text (the newest edition of Learning Perl, O'Reilly, for instance).
  3. expand your library.
  4. recycle 21 Days.
  • Comment on Re: help with a function that will cut out redundancy across two lists