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)
In Section
Seekers of Perl Wisdom
in reply to What is wrong in this code?
if($max_number eq '' or $current_number > $max_number)