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