in reply to Re^3: Cannot seem to pass number to a function
in thread Cannot seem to pass number to a function

I know this thread is old .. but this helped me tons today! I've been stuck on this error. I tried that adding 0 to my $col variable and no more errors! Thanks!! 0+$col