Not all great literature, just a few fun ones that popped into
my head while scanning my shelves:
# fiction:
eval {die "22\n"};
$@ == 22? print "Gotcha":die $@;
#!/usr/bin/perl
# ... rest of code
@years = (undef) x 100;
use Acme::Bleach;
use Tie::Cycle;
tie my $foucault, 'Tie::Cycle', [-1,1];
# non-fiction:
use Devel::Peek;
# ...
print Dump($gray);
$cosmic->();
use Carp;
sub species {confess()}
$delta = (localtime)[2]-(gmtime)[2];
print abs($delta * 15), $delta>0?'E':'W';
$prehistory =~ /$patterns/
spoilers:
# fiction:
Catch 22 (Joseph Heller)
The Unconsoled (Kazuo Ishiguro)
[no '-w' no 'use strict' == no sympathy]
One hundred years of solitude (Gabrial Garcia Marquez)
Out of Sight (Elmore Leonard)
Foucault's Pendulum (Umberto Ecco);
# non-fiction:
Gray's Anatomy (Henry Gray)
The Cosmic Code (Heinz Pagels)
Origin of Species (Charles Darwin)
Longitude (Dava Sobel)
[it's the general idea, not the accuracy that matters]
Patterns in Prehistory (Robert Wenke)
:-)
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|