in reply to Re: golf: shortest way to parse a pipe delimited file
in thread golf: shortest way to parse a pipe delimited file
and is 37 characters.sub parse{ #12345678901234567890123456789012345678901234567890 %p=map{chomp;split/\|/;shift@_,[@_]}@_ } parse(<SRC>);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: golf: shortest way to parse a pipe delimited file
by Roy Johnson (Monsignor) on Nov 10, 2005 at 20:06 UTC |