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

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (12)
As of 2014-12-18 19:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (61 votes), past polls