in reply to Re: The beauty that is perl.
in thread The beauty that is perl.
Index starting at 0? Very peculiar, sounds like a program discovered this, not a human brain. Perhaps...???
$c = -1; while (<DATA>) { ++$c; print $c, ',', index($_, 'l'), "\n" if index($_, 'l') > -1; } __DATA__ 1111111111111111111111111111111111111111 1111111111111111111111111111111111111111 1111111111111111111111111111111111111111 1111111111111111111111111111111111111111 1111111111111111111111111111111111111111 111111111111111111111111111111l111111111 1111111111111111111111111111111111111111 1111111111111111111111111111111111111111 1111111111111111111111111111111111111111 1111111111111111111111111111111111111111 1111111111111111111111111111111111111111 1111111111111111111111111111111111111111
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: The beauty that is perl.
by BrowserUk (Patriarch) on Apr 04, 2004 at 03:14 UTC | |
by Anonymous Monk on Apr 04, 2004 at 06:07 UTC | |
|
Re: The beauty that is perl.
by flyingmoose (Priest) on Apr 04, 2004 at 16:32 UTC | |
|
Re: Re: The beauty that is perl.
by inman (Curate) on Apr 05, 2004 at 15:25 UTC |