Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Perverse Unreadable Code

by boo_radley (Parson)
on Apr 25, 2001 at 23:46 UTC ( #75590=note: print w/replies, xml ) Need Help??


in reply to Re: Perverse Unreadable Code
in thread Perverse Unreadable Code

&doSomething if ($var);
This was the construct that tripped me up the most, along with its brother unless, when being brainwashed coming over to perl.
the typical
if ($foo) { ... ... }
sets the reader up -- he knows something might happen, but if he's unfamiliar with the alternate synax, that fact might pass him by. The end result is that I read code a little more thoroughly, and I've gotten used to it, so I guess it's not a total loss.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://75590]
help
Chatterbox?
[Corion]: Heh - somebody in our marketing departement thought it was a great idea to use the alerting tool for company-wide outages to announce some new feature ;)

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (12)
As of 2017-05-24 14:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?