in reply to Text::CSV_XS; Type Method

substr is certainly a text context. Perhaps that is a constraint that is hard for combine to break.

I'd try something like:

$prod_no = 0 + substr($source,88,8);

And check those results.

Replies are listed 'Best First'.
Re^2: Text::CSV_XS; Type Method
by drodinthe559 (Monk) on Feb 18, 2010 at 17:32 UTC
    That works as long as the field has data. I get the following error:
    Argument " " isn't numeric in abs at Y:\Perl Projects\C +oopers\ line 57, <SOURCE> line 12089.