Chris Knipe wrote:
>
> Lo all,
>
> I'm doing something *really* stupid... Please kick me...
>
> while (<>) {
> if ($_ =~ /LinkArea="MoreHeadlines">/) {
> ($URL) = $_ =~ /href="($.)"/;
> print "$URL\n";
> }
> }
>
> I have a URL...
>
> <a id="something" href="something" target="something"
> LinkArea="MoreHeadlines">test</a>
>
> Everything is randomly generated. Hence, I want to extract anything
> specified in the href="" field... So, after doing extensive reading, I found
> that I am indeed looking for /href="($.)"/ However, I cannot seem to
> extract this into a separated variable...
try: ($URL) = /href="(.*?)"/;
/Stefan
>
> What am I doing wrong??
>
> --
> me
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]