in reply to Syntax error in loop

Moritz, I couldn't see the semi-colon missing though was looking for it.

I think op may also need to amend the syntax within the first while statement to a dashed arrow rather than an equating arrow.

my $result = $in => next_result
my $result = $in -> next_result

Coyote

Replies are listed 'Best First'.
Re^2: Syntax error in loop
by MVRS (Acolyte) on Feb 15, 2012 at 11:34 UTC
    thnk u very much don