From steve at parasolsolutions.com Thu Dec 20 09:08:08 2001 From: steve at parasolsolutions.com (Steve Marvell) Date: Thu Aug 5 00:28:40 2004 Subject: APM: and today, I learnt something new Message-ID: <20011220150808.A25415@flumpet.demon.co.uk> .. and ... are more than I ever thought. perl -pe '11..exit' That appears to be the same as head -10, though I'm not sure why you wouldn't do: perl -pe '$. > 10 && exit' Cos that's just more readable. And this is something quite fun. perl -e 'while (1) { ++$i == 10 ... --$i == 0; print "$i\n";}' Steve