mrmick has asked for the wisdom of the Perl Monks concerning the following question:
Which of the following would be better/more efficient at parsing a fixed length record into its fields:
OR/(.{16})(.{20})(.{20})(.{1})(.{8})/
I humbly thank you in advance. Mickunpack($PS_T, $_);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Fixed-Length Fields Question
by ase (Monk) on Jul 24, 2000 at 15:04 UTC | |
Re: Fixed-Length Fields Question
by turnstep (Parson) on Jul 24, 2000 at 14:42 UTC | |
Re: Fixed-Length Fields Question
by lhoward (Vicar) on Jul 24, 2000 at 19:24 UTC | |
Re: Fixed-Length Fields Question
by japhy (Canon) on Jul 24, 2000 at 20:55 UTC |