hi friends, i have a problem in work i want to use a variable in the place of pattern to be matched, but i don't know how? but some great brain some ware in the world will be knowing it.
hear i explain the program, when i use the patter i get the right output when i store it in variable t and use it no output comes help me? open (H, "<st.htm"); @a=<H>; $ln=join('',@a); $t="<DIV class=link><A\s*?href=\"(.*?)\"><IMG[\s\S]*?border=0>([\S\s]*?)<\/A><\/DIV>[\s\S]*?15px\">(\w[\s\S]*?)<\/DIV>"; while($ln=~m/$t/g) { print "<br>URL:$1<br>\n"; print "<br>TITLE:$2<br>"; print "<br>DISCRIPTION:$3<br>"; } Catch all the cricket action. Download Yahoo! Score tracker