in reply to array splice vs hash splice

I tell my students, and they typically don't have problems recognizing what is what when they think of it this way:

When you see a $, you're dealing with one thing. When you see a @, you are dealing with zero or more things. You tell the variable type by what comes after it (nothing in scalars, square braces for arrays, braces for hashs).

Sadly, this is going to change in Perl 6.

--
brian d foy <brian@stonehenge.com>