This is my first try of Perl poetry type things.
This program proves that Perl is the language of the gods.
Sorry if it offends anyone, it isn't intended to
#!/universe/bin/perl -U # Maintainer : God # Revision history : None, made this while bored # Notes : could be a few bugs # : couldn't get it to work with warnings,strict or taint package Lifeform::Human; use vars qw/@ISA $VERSION/; $VERSION = 0.001; # very, very, very alpha @ISA = qw/Lifeform::base/; sub new { my $class = shift; my $person = $class->SUPER::new(@_); $person->{Location} ||= 'infinity'; unless ($person->{father}) { $person->{bastard} = 1; $person->{fath +er} = new Lifeform::base } unless ($person->{mother}) { $person->{flags} = 0xFFFFFF; $person-> +{mother} = new Lifeform::base } for (0..@{$person->{mother}->{chromosones}) { push @{$person->{chromosones}}, do_foo( $person->{mother}->{chromosones}->{$_}, $person->{father}->{chromosones}->{$_}); } bless($person, $class) if defined($person->{good}); $person->create; return $person; } sub kill { my ($person, $killer) = @_; $person->{dead} = 1; push @{$GROUND}, split(//,$person->{body}); $killer->damn( To => Hell ) if ($killer ne $TIME); } package main; use Universe; use Lifeform::Human; use vars qw/@people/; my $Universe = new Universe; my $Earth = $Universe->create(Type => 'World'); my $adam = new Lifeform::Human(Location => $Earth); my $eve = $adam->clone; $eve->alter('gender','f'); $child = new Human(father => $adam, mother => $eve); @people=($adam,$eve,$child); while ($Universe->exists and $Universe->stable) { push @people, new Human (father => $people[rand(@people)], mother => $people[rand(@people)]); $Earth->destroy(Amount => (@people/(10**20)), Part => 'random'); } undef @people; undef $Earth; undef $Universe; close; die;

In reply to universe.pl by repson

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.