: 
: 
: Ok,  I have just explained this about 5 times at work and 
: this is how I
: would return all the occurences of the "aaa" (or whatever 
: pattern you want
: to put in it.
: 
: $_ = join( "\n", m/(aaa)/ )

I think you need a "g" after the /, i.e. 
        m/(aaa)/g

Otherwise, that's the approach I'd use, too.

--Art
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to