in reply to Re^2: Text::CSV_XS; Type Method
in thread Text::CSV_XS; Type Method

Trim the spaces:

s/^\s+//, s/\s+\z// for $check_no, $amount;

By the way, types is only used when parsing, so it does absolutely nothing in your program.

Replies are listed 'Best First'.
Re^4: Text::CSV_XS; Type Method
by drodinthe559 (Monk) on Feb 18, 2010 at 22:29 UTC
    Thanks. I appreciate the help and not having to trying to get it to work.