http://qs321.pair.com?node_id=1074844


in reply to What is wrong in this code?

Or just change your line 9 to
if($max_number eq '' or $current_number > $max_number)

Replies are listed 'Best First'.
Re^2: What is wrong in this code?
by Anonymous Monk on Feb 13, 2014 at 15:14 UTC
    Ah, it works in that way, thanks !