in reply to help needed in storing the return values of unpack
You could:
($first[0], $first[1], @second)=unpack("A12A12A24A10",$string);
Gets a bit unwieldy with more than a few elements though and proably is not as efficient as splice in that case either.
|
|---|