: : : 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
- Re: simple global substitution Andy Jennings
- RE: simple global substitution Snyder, Christopher
- Re: simple global substitution Andy Jennings
- RE: simple global substitution Lee Goddard
- Re: simple global substitution Jenda Krynicky
- SV: simple global substitution Allan Juul
- RE: simple global substitution dayne_medlyn
- RE: simple global substitution Arthur Cohen
- RE: simple global substitution dayne_medlyn