[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 Wed, 16 Jun 1999 13:05:37 -0400, Bill Jones <bill@fccj.org> wrote:
>>You need a macro closure \E before the next \U, re -
>>
>>  print "\L\uHELLO, \E\U\lWORLD\E\n";
>>
>
> I would be more convinced if that wouldn't work:
>
>   print "\LHELLO, \Uworld\E\n";
>   hello, WORLD
>
> but it does. *Just* adding a \l next to \U causes a syntax error:
>
>   print "\LHELLO, \l\Uworld\E\n";
>   syntax error at -e line 1, near "\LHELLO, \l\U"
>   Execution of -e aborted due to compilation errors.


It should be a syntax error in that the last \E belongs to
the LAST \U

The FIRST \L lost it's macro closure \E in the reordering...

HTH,  :]

-FCCJ Data Security Group-
___________________________________________________________________
 FCCJ  501 W. State St.  Jacksonville, FL 32202   1 (904) 632-3089


==== 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