Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Stupid mistakes I repeatedly make

by rg0now (Chaplain)
on Apr 05, 2005 at 08:58 UTC ( #444898=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Stupid mistakes I repeatedly make
in thread Stupid mistakes I repeatedly make

I am not entirely sure I get your point. You mean that if you mistype the comma in

@array[10, 42]
(which would be just two elements of @array similar to Perl5) and accidentally change it to a semicolon
@array[10; 42]
then you get a multi-dimensional array? Do arrays automatically promote to multiple dimensions? If this is the case, then it is indeed a call for stupid mistakes, which are hard to uncover...

By the way: for me at least Perl 6 native multi-dimensional arrays do not seem to be essential. I mean they are pretty nice, but I could definitely live without them in Perl 6.0.0. At least, poor autrijus might have some less sleepless nights implementing hard-to-implement-only-marginally-useful language features...:-)

rg0now


Comment on Re^3: Stupid mistakes I repeatedly make
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2014-08-29 01:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls