Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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....

  • 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
    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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://465721]
LanX interesting POTUS reminds his people of brutal colonial past in the Philipines ...
[LanX]: ... what's next? Donald as John Wayne in "Rio Pig Blood - Bad Hombres must Die" ?

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2017-08-18 12:48 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (301 votes). Check out past polls.