On Mon, Dec 03, 2001 at 02:16:16PM +0000, Simon Cozens wrote:
>     perl -aln0 -F"\n" -e ...
> 
> (Stick an entire file into @F, a line per element.)

....unless the file contains \0 characters...

To cope with that, you have to use
        perl -aln0777F

But that counts as 10 characters under the golf rules, whereas

        @a=<>

is only five, so I suspect it may not be all that useful. But I
could be wrong -- I've only managed 98 strokes so far.

 .robin.

Reply via email to