I figured I would poetically codify the battle many of us fight.
#!/usr/bin/perl use warnings; use strict; $|++; my $pounds = 175; my $the_years_go_by = 1; while($the_years_go_by){ foreach (1 .. 365){ my $pizza = int rand(1000); my $ice_cream = int rand(1000); my $beer = int rand(1000); my $longwalks = int rand(500); my $bikerides = int rand(500); my $tai_chi = int rand(500); select($pizza,$ice_cream,$beer,.01); select($longwalks,$bikerides,$tai_chi,.01); $pounds += ( $pizza + $ice_cream + $beer - $longwalks - $bikerides - $tai_chi) / 5000; print "\rscale->$pounds"; if($pounds > 250){goto OBcity} if($the_years_go_by > 100){goto END} $the_years_go_by += 1/365; } } END: print "\nIt don't matter anymore\n"; exit; OBcity: print "\nWelcome to OBcity, where sex costs money. :-) \n"; exit;

I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re: OBcity
by CloneArmyCommander (Friar) on Sep 08, 2004 at 14:51 UTC
    I propose a new Atkins friendly version of perl :), hahahahaha :). (No offence intended to those of you who use the Atkins Diet :).
OBcity makes the funnies
by Ludwig van Jaethoven (Initiate) on Nov 16, 2004 at 16:57 UTC
    I thought you might be interested in, and want to see the comic I made of your poem for my Illustration course.

    Page 1, Page 2
      I hope this dosn't count toward my "15 minutes of fame".

      (Or should that be "15 pounds of lame" :-) )

      Nice illustrations. I have a secret desire to be a political-cartoonist.


      I'm not really a human, but I play one on earth. flash japh