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

Re: Cheezy perl love poem

by yosefm (Friar)
on Mar 20, 2004 at 10:43 UTC ( #338280=note: print w/replies, xml ) Need Help??


in reply to Cheezy perl love poem

Hmmm.... If you actually try to run it the loops will end instantanously, achieving the exact oposite of what you wanted. Maybe you could use 'while (++$time) {'? Nice though.

perl -e'$b=unpack"b*",pack"H*","59dfce2d6b1664d3b26cd9969503";\ for(;$a<length$b;$a+=9){print+pack"b8",substr$b,$a,8;}'
My public key

Replies are listed 'Best First'.
Re: Re: Cheezy perl love poem
by CloneArmyCommander (Friar) on Mar 22, 2004 at 18:45 UTC
    To be completely honest, the thought didn't cross my mind, which is surprising because the while loop is my favorite loop :). What I was thinking at the time was how easily the for loop integrates into this situation for poetic purposes :). Thanks for the tip :), that would also explain why a script I've been working on isn't working properly :).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://338280]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2016-12-05 13:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (82 votes). Check out past polls.