Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

my @three_virtues;

by Falkkin (Chaplain)
on Jan 07, 2001 at 21:29 UTC ( #50352=poem: print w/ replies, xml ) Need Help??

#!/usr/bin/perl my @three_virtues; my $author = "Colin McMillen"; use warnings; use strict; my $laziness = int(rand(2)); my $impatience = int(rand(2)); my $hubris = int(rand(2)); code_intelligently() or die "not enough laziness"; code_quickly() or die "not enough impatience"; code_perfectly() or die "not enough hubris"; sub code_intelligently { return $laziness } sub code_quickly { return $impatience } sub code_perfectly { return $hubris }
(Note: The first three times I ran this poem, it told me I didn't have enough hubris.)

Comment on my @three_virtues;
Download Code
Replies are listed 'Best First'.
Re: my @three_virtues;
by mrmick (Curate) on Jan 08, 2001 at 19:38 UTC
    I like it. Nice and simple! Makes one want to read it.

    ++ for Falkkin


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: poem [id://50352]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2016-04-30 00:50 GMT
Find Nodes?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW

    Results (441 votes). Check out past polls.