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

Re: Re: Dumb Mistakes

by mirod (Canon)
on Oct 03, 2001 at 12:06 UTC ( [id://116418]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Dumb Mistakes
in thread Dumb Mistakes

learning that the form $var->{key}{key} is legit.

It is legit, but I wonder how many monks use it. I personally like the -> and I always write $var->{foo}->{bar}. I find it aesthetically pleasant as well as a good reminder of the fact that $var->{foo} is a reference and not a hash.

I guess I am not the only one, given the overwhelmingly negative reaction to the replacement of the arrow by a dot in Perl 6 (which was probably Larry's goal now that I think of it, just to drive the point that Perl 6 is different from Perl 5 and that nothing is sacred).

Replies are listed 'Best First'.
Re: Re: Re: Dumb Mistakes
by demerphq (Chancellor) on Oct 03, 2001 at 12:27 UTC
    I'd like to know the rationale behind the decision before completely rejecting the change (see #43 thanks tilly) but it does seem to be an odd thing to change. Also if I've heard correctly the concat operator will be a underbar? Now that just reminds me of the broken VB run on statement syntax, which IMO is a bad recommendation. If you see what I mean.

    :-) Yves
    --
    You are not ready to use symrefs unless you already know why they are bad. -- tadmc (CLPM)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://116418]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.