in reply to Re: Applying regex to each line in a record.
in thread Applying regex to each line in a record.
It gets rid of the "m" vs "s" confusion by simply not using them!!
/pattern/ is equivalent to m/pattern/. | Nope, pritesh_ugrankar is referring to the
/m and /s modifiers! But the following are
still a good read. :)
See
perlre, perlretut (highly recommended!) and perlreref for regex
info; also perlop for the m// and s/// (and
tr///) operators.
Give a man a fish: <%-{-{-{-<
|
---|
In Section
Seekers of Perl Wisdom