Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^5: Fix whitespace around symbolsby Corion (Patriarch) |
on Mar 23, 2015 at 08:45 UTC ( [id://1120946]=note: print w/replies, xml ) | Need Help?? |
Aaah, now I understand. There was the /g flag missing when initializing the %symbols hash. As soon as you add it to the three m// operators, the program works. See perlop and perlre for more information on the /g flag.
In Section
Seekers of Perl Wisdom
|
|