F
firenet
#!/usr/bin/perl -w
undef $/;
$buf=<>;
print foreach($buf =~/<img>(.*?)<\/img>/sg);
By the program above , i can print the content i wanted;but i want to
get it directly.
What should i do? Thanks.
undef $/;
$buf=<>;
print foreach($buf =~/<img>(.*?)<\/img>/sg);
By the program above , i can print the content i wanted;but i want to
get it directly.
What should i do? Thanks.