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

Here's an example:
11111111,2222222222,5555-6666," 1234"," 123.45" 11111111,3333333333,7777-8888," 5678"," 567.89" 11111111,4444444444,1111-9999," 9123"," 176.47"
Notice the last two columns have quotes. I'm trying to get rid of that.

Replies are listed 'Best First'.
Re^3: Text::CSV_XS; Type Method
by ikegami (Patriarch) on Feb 18, 2010 at 18:13 UTC

    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.

      Thanks. I appreciate the help and not having to trying to get it to work.