F
firenet
#!/usr/bin/perl -w
undef $/;
$temp=<>;
#print $temp;
$temp =~ /author (.*?)<\/a>/gs;
print $1;
I want to get Brian W.Kerniham below.But i get a message"Use of
uninitialized value in print at sss.pl line 6, <> chunk 1." what's
wrong? Thank you.
<br><span class="pl2">author: <a
href=http://www.douban.com/subject_search?search_text=Brian W.Kernigham&cat=1001>
Brian W.Kernigham</a>
undef $/;
$temp=<>;
#print $temp;
$temp =~ /author (.*?)<\/a>/gs;
print $1;
I want to get Brian W.Kerniham below.But i get a message"Use of
uninitialized value in print at sss.pl line 6, <> chunk 1." what's
wrong? Thank you.
<br><span class="pl2">author: <a
href=http://www.douban.com/subject_search?search_text=Brian W.Kernigham&cat=1001>
Brian W.Kernigham</a>