in reply to Re: converting strings to ints
in thread converting strings to ints

I'm perfectly willing to explicitly convert the blank strings to 0. Is this the easiest way:
@arr1 = map {$_ eq "" ? 0 : $_} @arr1;

a common idiom is: @arr1 = map{$_||0}@arr1;
this converts undef or "" to 0.