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

Re^2: Stupid mistakes I repeatedly make

by geekgrrl (Pilgrim)
on Mar 29, 2005 at 22:42 UTC ( #443286=note: print w/ replies, xml ) Need Help??


in reply to Re: Stupid mistakes I repeatedly make
in thread Stupid mistakes I repeatedly make

I used to do the my ($n, $m, $o) = shift so often that I vigorously enforce always using @_ now in my code. Because without fail the one time I use shift, I end up adding a variable later.

Plus I get really annoyed with all the extra typing I have to do to convert it from one format to the other. I suppose I should create an emacs macro to do that for me...Its good to know that laziness does indeed support good habits. ;-)


Comment on Re^2: Stupid mistakes I repeatedly make

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2015-07-05 15:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls