in reply to Re: How to divide a line from a text file into 8 digit chunks
in thread How to divide a line from a text file into 8 digit chunks
seems to create a size 11 array with some additional spaces whereas unpack creates a size 6 array. But I am not sure why it does that.my @array = split m/(.{8})/, $string;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to divide a line from a text file into 8 digit chunks
by moritz (Cardinal) on Feb 24, 2009 at 10:31 UTC | |
by AnomalousMonk (Archbishop) on Feb 24, 2009 at 14:41 UTC |