Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 exploiting the Monastery: (5)
As of 2015-08-01 06:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found
    past polls