* Leo <[EMAIL PROTECTED]> [2004-02-07 13:22]:
> > Golfers also use the fact that in a -p/-n program the next character
> > is a ;, for example
>
> What do you mean by 'the next character is a ';''?
As some others have pointed out, not only is the loop literally constructed
around your code, but a semicolon is also inserted. That is why the "print q"
trick works, and it's also why you can omit the final semicolon of @; at the
end of Ton's example program:
> > #!perl -alp0
> > s!.+!$;[EMAIL PROTECTED]&,$_}=%$z]=$z=$_.$&[EMAIL PROTECTED],@F!eg;$_=pop@
-- Mike
--
Michael W. Thelen
A satirist is a man who discovers unpleasant things about himself and then
says them about other people.
-- Peter McArthur