in reply to Re: Re: Re: Re: (Golf) unique
in thread (Golf) unique
Yes I tried the input.
I test everything before I post it here. I have a test directory full of files called file, file1, file2, numfile, bigfile, blankfile, etc.
Nevertheless, it is difficult to test for every eventuality. It looks like the behaviour changes between 5.6 and 5.8:
$ perl5.005_03 -ne '$$_++||print' infile here comes trouble Modification of a read-only value attempted at -e line 1, <> chunk + 4. $ perl5.6.1 -ne '$$_++||print' infile here comes trouble Modification of a read-only value attempted at -e line 1, <> chunk + 4. $ perl5.8.0 -ne '$$_++||print' infile here comes trouble 1 2
--
John.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: (Golf) unique
by sauoq (Abbot) on Jun 04, 2003 at 16:57 UTC |