in reply to Re^2: substr in nested foreach loop
in thread substr in nested foreach loop
before the substr that's dying, just to be sure, maybe even print the line.print length($hline),"\n";
But the main reason I write is to suggest using one unpack instead of three substrs... syntax would be (approximately, not tested)
Pretty sure that would be more efficient.($xh,$yh,$zh) = unpack("x31A8x1A8A8",$hline);
|
---|