[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [Fun With Perl] What does this do?



>>From: "Juanma Barranquero" <barranquero@laley-actualidad.es>
>> 
>> On Thu, 17 Jun 1999 12:15:13 -0400, "Bill Jones" <bill@fccj.org>
>> wrote:
>>
>>>It should be a syntax error in that the last \E belongs to
>>>the LAST \U
>>
>> That still doesn't explain why it fails just by adding a \l that
>> shouldn't affect \U or \L (but it does, by way of the reordering that
>> MJD has brought to our attention).
>>
>>>The FIRST \L lost it's macro closure \E in the reordering...
>>
>> The perlop manpage says:
>>
>>  \L  Lowercase till \E
>>  \U  Uppercase till \E
>>  \E  End case modification
>>
>> Nowhere I read that they should be properly nested and that is not
>> correct to "open" several levels of \L and \U and close them all with
>> a single \E. In fact,

In toke.c (perl5.005.52) states on
line 1715 of 6322 (27%), character 44335 of 154152 (28%)

That -

tmp = *s, *s = s[2], s[2] = tmp;        /* misordered... */

And the \bigLettered commands are evaluated BEFORE
the \littleLettered commands...

HTH,
-Sneex-  :]
______________________________________________________________________
Bill Jones  Data Security Specialist  http://www.fccj.org/cgi/mail?dss
______________________________________________________________________
  We are the CLPM... Lower your standards and surrender your code...
  We will add your biological and technological distinctiveness to
  our own... Your thoughts will adapt to service us...
  ...Resistance is futile...

         Jacksonville Perl Mongers
         http://jacksonville.pm.org
         jax@jacksonville.pm.org

==== Want to unsubscribe from this list? (Don't you love us anymore?)
==== Well, if you insist... Send mail with body "unsubscribe" to
==== fwp-request@technofile.org