in reply to Re: count moby substrings
in thread count moby substrings

Just a matter of style-- bare braces in the middle of nowhere make me itch, looking for an 'if' line that may have been deleted or obscured. Same reason I explicitly handle newlines and whitespace in two passes, though that's not really necessary.

--
[ e d @ h a l l e y . c c ]

Replies are listed 'Best First'.
Re^3: count moby substrings
by Aristotle (Chancellor) on Jul 31, 2003 at 20:08 UTC
    I prefer to write it this way:
    my $input = do { local $/; <> };

    Makeshifts last the longest.