Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

the good, the bad, and the ugly

by MZSanford (Curate)
on Jul 13, 2001 at 14:36 UTC ( #96342=poem: print w/ replies, xml ) Need Help??

Perl 5.6 only, sorry
#!/usr/bin/perl ## ode to bad coders use strict; use constant true => 1; use constant false => 0; BAD_CODERS: { use constant anoyances => "standards"; our $code = sub { "optimal" }; no strict; no warnings; while ($code == "running") { !log(true); } } GOOD_CODERS: { our $code = sub { "stantialy better"}; use strict; use warnings; log(true); eval("All Operations"); if ($! or $@) { print "Error Message\n"; } exit(1) if ($code eq "ERROR"); } END;

Comment on the good, the bad, and the ugly
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2015-11-26 18:48 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (705 votes), past polls