in reply to Re: golf: shortest way to parse a pipe delimited file
in thread golf: shortest way to parse a pipe delimited file
This is how you'd score it:Bareword found where operator expected at -e line 1, near "0F" (Missing operator before F?) syntax error at -e line 1, near "}=" Execution of -e aborted due to compilation errors.
42.#1234567890123456789012345678901234567890123456789012345 perl -anF"\|" -le"$f{shift@F}=[@F[1..$#F]]" pipe.txt
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: golf: shortest way to parse a pipe delimited file
by BrowserUk (Patriarch) on Nov 10, 2005 at 20:16 UTC | |
by bageler (Hermit) on Nov 12, 2005 at 22:22 UTC |