Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

(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!

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?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2016-10-25 18:55 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (326 votes). Check out past polls.