Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by devnul (Monk)
on Jun 11, 2005 at 00:28 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://465721]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-19 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found