3 ms·
If I'm not mistaken, that probaby should have read $++;
by cygx 11y ago
If I'm not mistaken, that probaby should have read $++;
- hoodoof 11y agoThis. This thread right here is the magic of Perl.
- deleted 11y ago[deleted]
- stone-monkey 11y agoI also attended the unveiling yesterday; If I remember correctly, I'm about 95% sure your assumption is correct.
- labster 11y agoCorrect. $ 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 http://rosettacode.org/wiki/Mad_Libs#Perl_6