in reply to how to increase input buffer size in perl?
Input line is too long for input buffer of 32766 characters.
That comes from IDL itself. It is probably caused by:
arr1 ='@array1'
Which if @array1 contains a large number of values, will come out as one very long line.
I don't know IDL syntax, but you might work around it by breaking the array assignment across multiple lines something like:
my $array1 = ''; $array1 .= @array1[ $_ .. $_ + 10 ] . "\n" for map $_* 10, 0 .. $#arra +y1 / 10; ... arr1 = '$array1'
You also might look at PDL.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to increase input buffer size in perl?
by Anonymous Monk on Mar 31, 2010 at 21:10 UTC | |
by BrowserUk (Patriarch) on Mar 31, 2010 at 21:47 UTC |