Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: What is wrong in this code?

by pajout (Curate)
on Feb 13, 2014 at 15:12 UTC ( [id://1074844] : note . print w/replies, xml ) Need Help??


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 !