Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://338280]
Corion is mildly surprised as some different toy projects coagulate into a useful application. I've been toying with writing a Meetup wrapper and also have been toying with synchronizing events between (CalDAV) calendars, and now that means I can ...
[Corion]: ... easily* synchronize my personal calendar with Meetup and import stuff from Meetup there
[Corion]: * Code not yet written, some restrictions may apply

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2017-02-23 09:31 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (343 votes). Check out past polls.