Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I thought I'd post a clever reply to The return value of m// using autobox::Core, I figured maybe the OP is familiar with Regexp/String objects from JavaScript, it might be easier from a syntax perspective, so i tried

$ perl -Mautobox::Core -MData::Dump -le " dd q{ one 6 two 7 three }-> +m( qr/(\d+)/ ) " [6]

qr//g won't work, there is no mg ; How to do a global match?