Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: case escape characters

by I0 (Priest)
on Mar 02, 2002 at 05:13 UTC ( #148775=note: print w/ replies, xml ) Need Help??


in reply to case escape characters

print &{sub{local($c,$_)=@_;$c x=length;$c^lc$c^lc}}("S","stuff");


Comment on Re: case escape characters
Download Code
(jeffa) 2Re: case escape characters
by jeffa (Chancellor) on Mar 02, 2002 at 13:51 UTC
    Nice! Very nice! I had to look twice (hell, five times) at x=length. I am still trying to understand $c^lc$c^lc:
    my $c = 'a'; my $d = 'A'; $_ = 'stuff'; print $c^lc$c^lc; print $d^lc$d^lc;
    More importantly, i am trying to understand how one would even COME UP with that! :D

    jeffa most humbly bows

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://148775]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-07-26 09:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls