Re: Problem with blocking

Andy Lester <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
>>> sub getHyperlinks {
>>>    my $self = shift;
>>>    while($isParsing) { }
>>>    return %{self->{HYPERLINKS}};
>>> }
>>
>> The while loop is empty.  Nothing can change the value of $isParsing.
>
> That's right! At least not in the while loop.
>

Once you get into that while loop, you can never get out.

--
Andy Lester => [email protected] => www.petdance.com => AIM:petdance
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.