Karsten Sperling <s_sperli@ira.uka.de> writes: >>> *** Eugene van der Pijll: 89 (11 19 13 25 21) *** >>> --- rev.pl --------------------------------------------- >>> #!/usr/bin/perl -p >>> $\=$_.$\}{ > >> That's just *beautiful*. I just couldn't see past 'print reverse<>'. > I've been wondering for hours now how he keeps $_ from being > destroyed by the last iteration. Of course, he just doesn't. > Congratulations Eugene! Yeah, it's a fantastic sidestep isn't it? I'm kicking myself for not spotting it. It's one of those really obvious things once you see it. -- Piers "It is a truth universally acknowledged that a language in possession of a rich syntax must be in need of a rewrite." -- Jane Austen?Thread Previous | Thread Next