No, it won't compile. Yes, it
is 2am and too late for this. No, I don't know why I keep on doing it either. Yes, I
know there'll be lots of syntax boo-boos - the first perl I've written in howevermanyyears without a single glance at a camel. Don't care - this is
art darlings! :)
$rudolph = new Reindeer(nose=>'#ff0000',shininess=>255);
if ($you{seen} == $rudolph->{nose} && (!$you{say} % 2)) { #hmmm...tenu
+ous:)
$rudolph->{nose} = glow();
}
foreach (@reindeers) {
$_->laugh($rudolph);
$_->name_call($rudolph);
}
join ('games',grep {$_ != $rudolph} @reindeers);
$tonight = new Eve(timelocal(0,0,22,24,11,102),'foggy');
if ($rudolph->{shininess} > 200) {
$santa->say($sleigh->guide($rudolph,$tonight));
foreach (@reindeers) {
$_->love($rudolph);
$_->shout('glee',
eval{open H ">>.history";print H $rudolph;close H;}
);
}
}
Merry thingy.
In reply to Rudolph
by benn
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.