Empty body to the while loop. In the spirit of perl, do what I mean, i.e.
nothing. It would appear that any block is allowed a continue clause.

Greg.

PS. I'd be appalled if this didn't work.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 06, 2004 3:37 PM
To: Allen, Greg
Cc: [EMAIL PROTECTED]
Subject: Re: What does "}{" mean?




   X-Original-To: [EMAIL PROTECTED]
   Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
   From: "Allen, Greg" <[EMAIL PROTECTED]>
   Date: Fri, 6 Feb 2004 14:51:57 -0000
   X-WSS-ID: 6C3D75871563186-01-01
   X-BigFish: v
   X-SMTPD: qpsmtpd/0.26, http://develooper.com/code/qpsmtpd/

   It is the secret "eskimo greeting" operator.

   This might reveal what is happening:

   perl5 -MO=Deparse -pe ' } { $_="foo\n"' /dev/null
   LINE: while (defined($_ = <ARGV>)) {
       ;
   }
   {
       $_ = "foo\n";
   }
   continue {
       print $_;
   }
   -e syntax OK


I figured that much, but then I'm left with interpreting a construct
of the form:

   while(defined($_ = <ARGV>)){}{$_ = "foo\n"}continue{print $_}

                              ^^
                              ??

I didn't think such a construct would be legal.  I'm not sure what it
means.


------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
secure or error-free.  Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.

Reply via email to