Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 surveying the Monastery: (4)
As of 2014-12-29 00:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls