Keep It Simple, Stupid | |
PerlMonks |
Re: Re: Re: Re: SOP6Wby TheDamian (Vicar) |
on Apr 25, 2003 at 23:54 UTC ( [id://253288]=note: print w/replies, xml ) | Need Help?? |
how would you do the equivalent of print $hash{bang}; in Perl 6? print %hash{bang};?Exactly. In Perl 6 the sigils for arrays (@) and hashes (%) are an intrinsic part of the variable name and consequently don't change when the variable is accessed. Maybe I should start reading the Apocolypses or something...Good idea. They're most easily accessed at: http://dev.perl.org/perl6/apocalypse/. The Exegeses and Synopses are also quite useful.
In Section
Perl Monks Discussion
|
|