Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Obfuscation of code...

by srawls (Friar)
on Jun 29, 2001 at 23:43 UTC ( #92784=note: print w/ replies, xml ) Need Help??


in reply to Re: Obfuscation of code...
in thread Obfuscation of code...

Wow, I read the source code for that, a perlmonk definitely did not write that. No use strict at all. All global variables, no mys at all. It undefs $/ and doesn't even reset it. Instead of simply saying:

open FH, 'foo.bar' or die "could not open";
it says:
open FH, 'foo.bar' or print 'could not open' and exit;
It's filled with those print '...' and exit commands too, not just in the open call. I can see many places that need improvement. It is a neat idea though, if not useful, then just fun.

The 15 year old, freshman programmer,
Stephen Rawls


Comment on Re: Re: Obfuscation of code...
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2014-07-13 22:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (252 votes), past polls