Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Hofstadter Metapuzzle

by jynx (Priest)
on May 23, 2002 at 17:56 UTC ( [id://168850]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #23456789_123456789_123456789_123456789_123456789_123456789_123456789_
    $_=<DATA>;push@_,@+while/_/g;{for$a(0..$#_){substr($_,$_[$a]-1,1
    ...
    __DATA__
    The number of 0s in this sentence is _, of 1s is _, of 2s is _, of 3s 
    +is _, of 4
    s is _, of 5s is _, of 6s is _, of 7s is _, of 8s is _, and of 9s is _
    +.
    
  2. or download this
    sub{$a=<DATA>;$a=~s,($_.*?)_,$1.pop,efor-1..9;print$a}->(1,1,2,1,1,1,2
    +,3,7,1)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-06-17 13:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.