in reply to Re: How to compare elements within an array
in thread How to compare elements within an array

Thank you! This is such an elegant solution. You make hashes awesome. I did not realize you could use regex bare. I always believe you needed a {$variable =~} syntax.
  • Comment on Re^2: How to compare elements within an array

Replies are listed 'Best First'.
Re^3: How to compare elements within an array
by Kenosis (Priest) on Feb 20, 2014 at 20:25 UTC

    You're most welcome, doubleqq!

    I did not realize you could use regex bare.

    As I'm sure you've surmised, the regex implicitly operates on Perl's default scalar $_. As you examine more Perl code, you'll note regexes often being used in this context.