in reply to Re^4: Extract a small part of a long sentence using regular expressions
in thread Extract a small part of a long sentence using regular expressions

No offence. I use anonymous subs sometimes, too. I just don't feel it's needed here:
my %hash = map { $key++ => $_ } grep { $_ != 0 } map { split /,/ } $line =~ /action \( ( [^)]+ ) \) /gx;
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
  • Comment on Re^5: Extract a small part of a long sentence using regular expressions
  • Download Code

Replies are listed 'Best First'.
Re^6: Extract a small part of a long sentence using regular expressions
by karlgoethebier (Abbot) on Dec 02, 2014 at 20:31 UTC

    Thank you. It seems like that was the missing idiom :-)

    Best regards, Karl

    «The Crux of the Biscuit is the Apostrophe»