En réponse à Piers Cawley <pdcawley@bofh.org.uk>: > Michael G Schwern <schwern@pobox.com> writes: > > > On Fri, Dec 07, 2001 at 10:36:50AM +1100, Andrew.Savige@ir.com > wrote: > >> --- Piers Cawley --------------------- 21 > >> #!/usr/bin/perl -lp > >> $#='%010g'}{$_=$. > > > > Shouldn't that be 20? > > Nope. The space before the '-' counts. > > But I was pretty proud of this one. And surprised that nobody else > found it. Course, I'm still annoyed that I found this but not the $\ > based reverse. I love this one. As an added bonus, perlvar says "Use of $# is deprecated." -- Philippe BRUHAT - BooK When you run from your problem, you make it that much harder for good fortune to catch you, as well. (Moral from Groo The Wanderer #14 (Epic))Thread Previous | Thread Next