in reply to Repeated Pattern Matching Fails

@match = $var =~ /\d+\.\d+/g;
will this help you?
Again what you want to match exactly?.

Vivek
-- In accordance with the prarabdha of each, the One whose function it is to ordain makes each to act. What will not happen will never happen, whatever effort one may put forth. And what will happen will not fail to happen, however much one may seek to prevent it. This is certain. The part of wisdom therefore is to stay quiet.

Replies are listed 'Best First'.
Re^2: Repeated Pattern Matching Fails
by kapila (Acolyte) on Apr 14, 2009 at 09:34 UTC

    Thanks vivek for reply. But this pattern will not grep the word string. The pattern i wrote is matching upto certain limit, instead of matching repeatedly. if i do m/($pattern)*/g it won't work.. What do u suggest?