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

(crazyinsomniac) Re: TMTOWTDI Puzzle: Generating a range of numbers

by crazyinsomniac (Prior)
on Dec 19, 2001 at 10:11 UTC ( #133026=note: print w/ replies, xml ) Need Help??


in reply to TMTOWTDI Puzzle: Generating a range of numbers

use the dl code link, as the nelines after __END__ matter!
update: thanks to blakem, I added ord to correctly solve this "puzzle", d'oh!

#!/usr/bin/perl -l # use dl code, important print while <DATA>; print for ord 'f'>>'o'..$.; __END__ I am smelling like a rose that somebody gave me on my birthday deathbed!

 
___crazyinsomniac_______________________________________
Disclaimer: Don't blame. It came from inside the void

perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"


Comment on (crazyinsomniac) Re: TMTOWTDI Puzzle: Generating a range of numbers
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2015-07-06 11:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (73 votes), past polls