Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: More fun with a reference

by Tux (Abbot)
on Dec 27, 2018 at 10:05 UTC ( #1227741=note: print w/replies, xml ) Need Help??


in reply to More fun with a reference

perl -E'@C=(split$C,$C.\"cC")[1..4];for(@C,$C,$,,$)){$C[$_]++for$C,2,$#C};$C[2]^="\cC";say@C'

Enjoy, Have FUN! H.Merijn

Replies are listed 'Best First'.
Re^2: More fun with a reference
by kschwab (Vicar) on Dec 27, 2018 at 16:15 UTC
    Love it. Needs more 'C' though :)
    perl -E'@C=(split$C,$C.\"cC")[++$^C..$^C<<$^C+($^C)];for(@C,$c,$c,$c){ +$C[$_]++for$C,2,$#C};$C[$^C<<1]^="\cC";say@C'

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2020-09-28 21:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (144 votes). Check out past polls.

    Notices?