I got stressed today, while I was at work, and it inspired me to write this poetry!

Of course this code does nothing, just express my feelings in perl.

Once Again, Thanks Perl!
#!/usr/bin/perl -w use strict; my $enjoy; my $suffer; my $bedtime; my $work = 10; my $load = 2; my $go_home; open( NEWDAY, "<nonstress.tmp" ) || warn "Will Change as Day Goes On"; while (<NEWDAY>) { if ( $work =~ /easy/ ) { print "My Workload Doubles"; print "$work*$load"; until ( $me =~ /stress/ ) { print "LUNCH BREAK!"; } } } open( LUNCH, "<lunch.tmp" ) || warn "Only 30 Min"; while (<LUNCH>) { push my @boss, $go_home; } if ( $life =~ /badstress/ ) { &half } else { $suffer } sub half { open( HALF, "<halfday.tmp" ) while (<HALF>) print $enjoy; until ($bedtime) }


-- Yes, I am a criminal. My crime is that of defyance.

Replies are listed 'Best First'.
some work sucks, but lunch breaks rarely do.
by wrvhage (Sexton) on Feb 24, 2002 at 00:55 UTC
    Wouldn't it have to be:
    print "LUNCH BREAK!" while $me =~ /stress/;
    instead of until?
    I don't find lunch breaks very stress inducing :)

    Brother Willem

    --
    wrvh@xs4all.nl | http://wrvh.xs4all.nl