Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: References, hashes, and tie() -- oh my

by devnul (Monk)
on Jun 11, 2005 at 00:28 UTC ( #465721=note: print w/ replies, xml ) Need Help??


in reply to Re: References, hashes, and tie() -- oh my
in thread References, hashes, and tie() -- oh my

Incidently, my ($hash) = @_; is spelled better as my $hash = shift;

.. I couldn't disagree with this more....

dEvNuL


Comment on Re^2: References, hashes, and tie() -- oh my
Replies are listed 'Best First'.
Re^3: References, hashes, and tie() -- oh my
by Limbic~Region (Chancellor) on Jun 11, 2005 at 00:33 UTC
    devnul,
    Not that it has anything to do with jacque's problem, but what specifically do you disagree with? That my ($hash) = @_; shouldn't be spelled differently at all, or the way I chose to spell it? The only way I can see to improve the readability would have been to say my $hash = shift @_;

    Update: Ok, after hearing several arguments in the CB along with jZed's reply, I am convinced that it is not necessarily better to write it that way. I doubt I will change how I write my code but I won't think it is deficient when others do.

    Cheers - L~R

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://465721]
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: (3)
As of 2015-07-30 04:04 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 (269 votes), past polls