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

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



On Thu, Jun 17, 1999 at 01:08:20AM -0400, mjd-list-fwp@plover.com wrote:
> 
> > Ok, so now I know what this does, will someone explain what is going on
> > here?
> 
> * * * SPOILERS * * * 
> 
> 
> 
> 
> OK, the example was
> 
> 	print "\L\uHELLO, \uWORLD!\n";
> 
> which prints
> 	           Hello, world!
> 
> Everyone who answered was surprised by something about this, although
> not everyone was surpseid by the same things.  Some people were
> suprised that the H was capital, and others were surprised that the w
> was lowercase.

Hmm, the message I have reads:

      print "\L\uHELLO, WORLD\E.\n";

without the second \u.  So anyone who was surprised that the w was
lowercase must not have gotten the same email I did!

Ronald

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