and is 37 characters.sub parse{ #12345678901234567890123456789012345678901234567890 %p=map{chomp;split/\|/;shift@_,[@_]}@_ } parse(<SRC>);
In reply to Re^2: golf: shortest way to parse a pipe delimited file
by bageler
in thread golf: shortest way to parse a pipe delimited file
by bageler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |