|Perl Monk, Perl Meditation|
m//g behaves strange...by Anonymous Monk
|on Nov 09, 2003 at 21:15 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
During my first steps in perlgolf I've encountered a strange m//g behaviour (perl 5.8.1).
When I run following code:
I get this output:
This test shows that:
I ask you if it's proper behaviour / undocumented feature / bug? Or maybe I have missed something?
PS. My username is kokr but somehow email with my passwd can't find it's way to my mailbox :>