Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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

Comment on Re: Cheezy perl love poem
Download Code
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?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2015-11-26 00:18 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (693 votes), past polls