Thank you
I know where is my problem; that is just because I set wrong of the variable's range.
User Profile
Collapse
-
-
[code=perl]
#! /usr/bin/perl -w
use strict;
use CGI;
use LWP::Simple;
my $contest=get("h ttp://nec.whoi.edu/jg/info/NEC/Habitat_Ecology/ctd_JR{dir=nec. whoi.edu/jg/dir/NEC/Habitat_Ecology/,data=www.pulse .unh.edu/jg/serv/NEC/CTD_Hydrography/ctd_JR.html0");
my @contest=split( "\n",$conte st); # get every line in the contest.
my $tmp;
...Leave a comment:
-
I tried it,but still doesn't work. so I don't know why.
Thank you...Leave a comment:
-
-
How can I get the information between the <tr><td> and </td></tr>?
Hi,everyone:
I have a problem now. I can't get the information between the <tr><td> and </td></tr>.
for example:
I use this regular expression can't get it, I don't know why.
$test=~/<tr><td>(.*)< \/td><\/td>(.*)<\/td><\/tr>/ms;
<tr><td>station </td> <td>station number/identification, see chart above: <br>
B...
No activity results to display
Show More
Leave a comment: