I was opening a html document using the function my $stream = HTML::TokeParser->new($filename) || die "Couldn't read HTML file $filename: $!";
while ($token=$stream->get_token()){ While processing the tokens I am forking a child processes. At some point in the process the variable $stream gets reset such that get_token function returns the first token in the html document instead of the next token in the html document that needs to be processed. } Is there a way in which this problem can be fixed. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>