Hello, I am wondering how i can use a subroutine as the search string for
s//.
Specifically, I am trying to search through a large number of HTML documents
which contain an arrangement of similar (not identical!) table cells. All I
want to do is rearange the order of the cells, but it seems inne
At 02:31 PM 6/27/01 -0400, Noah Sussman wrote:
>Hello, I am wondering how i can use a subroutine as the search string for
>s//.
>
>Specifically, I am trying to search through a large number of HTML documents
>which contain an arrangement of similar (not identical!) table cells.
Check out HTML::Ta
s/// and friends first parse their contents as double
quoted strings, before ever considering the content
as a regex.
So you can do:
$foo = '[a-';
$bar = 'z]';
s/$foo$bar//gi;
and it will work (stripping letters).
Furthermore, you don't need any dynamic behavior
for the search par
Emerson
> From: "Me" <[EMAIL PROTECTED]>
> Date: Wed, 27 Jun 2001 16:25:00 -0500
> To: "Noah Sussman" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Subject: Re: subroutine as search string?
>
> s/// and friends first parse their contents as dou