At 12:16 PM 5/11/01 -0400, FLAHERTY, JIM-CONT wrote:
>I am trying to substite , I want to replace   <> between the words and
>replacing them with  </td><td>
>because I am reading a file that is uploaded and making a table in a web
>page when this script is run
>
>
>$test1 = " the is a test";
>
>$test1 = s/<>/</td></td>/g
>
>
>I dont get the desired result , can anyone help ?

Your pattern delimiter is a slash.  So the right hand side should look like

         s/stuff/other stuff/

i.e., three slashes.  How many slashes do you have?

Remember to use -w and use strict.

--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com

Reply via email to