Charles:

On Fri, Jan 09, 2015 at 11:02:28AM -0800, Charles DeRykus wrote:
> Definitely  needs  a 'use 5.014' if you want to dabble.

You appear to be correct. Hmmm, I didn't figure that from the
documentation. Either I read it wrong or it's not documented
well.

> Apparently undocumented that you don't need a reference either since
> while(($key,$value) = each @array  works as well as 'each \@array'.

I think the normal and original behavior is no reference. I think
they added the reference in 5.14 too. Perhaps the documentation
just fails to mention that support for arrays was added in 5.14
along with references? Hopefully I got that right this time. :)

Regards,


-- 
Brandon McCaig <bamcc...@gmail.com> <bamcc...@castopulence.org>
Castopulence Software <https://www.castopulence.org/>
Blog <http://www.bambams.ca/>
perl -E '$_=q{V zrna gur orfg jvgu jung V fnl. }.
q{Vg qbrfa'\''g nyjnlf fbhaq gung jnl.};
tr/A-Ma-mN-Zn-z/N-Zn-zA-Ma-m/;say'

Attachment: signature.asc
Description: Digital signature

Reply via email to