Re: What does "}{" mean?

<[email protected]>
Newsgroups gmane.comp.lang.perl.fun
Message-ID <[email protected]>

   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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.