Leo <[EMAIL PROTECTED]> writes:

> > echo | perl -lpe 'print q'
> > 
> > which outputs:
> > 
> > }continue{print or die qq(-p destination: $!\n)
> >
> Well, I had no problem with the thread.... until now! How the f... does this 
> work????

It gets converted to:

LINE: while (defined($_ = <ARGV>)) {
    print q;}continue {die "-p destination: $!\n" unless print $_;
}

';' is a legal character to use with the quote-like operators. So
q;something; is the same as 'something'. So the manual-page shouldnt
be taken too literal either.

-- 
 Peter Makholm     |     Sit back and watch the messages. This is actually
 [EMAIL PROTECTED] |     more important than one might think as there is a
 http://hacking.dk |      bug in GNU Mach whereby hitting a key during the
                   |               boot process causes the kernel to panic
                   |                        -- GNU Hurd Installation Guide

Reply via email to