Hacker News new | past | comments | ask | show | jobs | submit login

Correct. $ is an anonymous scalar (which autovivifies to 0 and increments in $++). There's also anonymous array @ and anon hash %. The hash form you can see in action here, in the one-liner mad-libs code: http://rosettacode.org/wiki/Mad_Libs#Perl_6



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: