Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Coding superstitions

by Ryszard (Priest)
on Jan 08, 2002 at 07:38 UTC ( #137047=note: print w/ replies, xml ) Need Help??


in reply to Coding superstitions

I"m a bit of a $retval fan. Whenever one of my (or perls) functions returns something important in the context of my subbie, it gets stored in $retval or @retval and for some strange reason %rethash. Terribly inconsistant I know. Perhaps its because i'm worried it will bring me bad luck if i dont.. ;-)

I also like doing my if..then..elsif..else loops like:
if ($stuff) { } elsif ($otherstuff) { } else { }


Comment on Re: Coding superstitions
Select or Download Code
Replies are listed 'Best First'.
Re: Re: Coding superstitions
by seattlejohn (Deacon) on Jan 15, 2002 at 12:26 UTC
    Heh, I do something similar, except my variable is always called $result, @results, or %results.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2015-08-04 17:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (70 votes), past polls