in reply to Re: PERL scripts-Yahoo Groups Download-i get an error
in thread PERL scripts-Yahoo Groups Download-i get an error
The $cells variable gets in the while loop unintialized.my ($cells) = $content =~ /<!-- start content include -->\s+(.+?)\s+<! +-- end content include -->/s; while ($cells =~ /<tr>.+?<span class="title">\s+<a href="(.+?)">(.+?)< +\/a>\s+<\/span>.+?<\/tr>/sg)
Why does this happen? The $content variable contains the HTML Yahoo login page(I've checked it by outputting its contents to a html file).
Also, what does this mean?
"/<!-- start content include -->\s+(.+?)\s+<!-- end content include -->/s"
I can understand only simple m// patterns, so I can't figure what's the string that it searches for.
Please help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: PERL scripts-Yahoo Groups Download-i get an error
by pemungkah (Priest) on Mar 22, 2009 at 19:29 UTC | |
by Anonymous Monk on Mar 22, 2009 at 21:18 UTC | |
by pemungkah (Priest) on Mar 24, 2009 at 06:14 UTC |