On Tue, 8 May 2001, Craig Moynes/Markham/IBM wrote:

> $values =~ s/.*$self->{DF_REGEXP}.*/$replaceString/g;

Perhaps you actually want:

@values_arr = $values =~ /.*$self->{DF_REGEXP}.*/

This will give you an array of the atomized matches in your regexp, and
you don't need to fool around with those backreferences.  If you're not
really doing anything with those backreferences, you are just making busy
work for yourself trying to format that output.

-- Brett
                                   http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
I came, I saw, I deleted all your files.


Reply via email to