in reply to
Re^4: How to store matched $1 values one by one to array?
in thread How to store matched $1 values one by one to array?
$agent_value is declared two times.The substitution should not be used with my.Just remove the second lexical declaration and the code works.
Also, I recommend to use strict and warnings.
'warnings' says: "my" variable $agent_value masks earlier declaration in same scope at ...
0 - I'm a blankster
0 - My devices have no keyboard
0 - I use a chorded keyboard that transcends your concept of keys
26 - I need the other keys for Perl sigils!
31 - I write code in the original APL
31 - ß counts only as one letter!
∞ - I use an Optimus keyboard
ℵ1 - I reject your Latin-centric notion of letters
Results (26 votes),