As I wrote before, everthing is a reference - except containers typed as native types,
So, everything except arrays and hashes? Is "$foo" in "my $foo = 'hi'" a reference?
Aliasing is now done via binding,
How would I create an alias (a reference) to a sub? Like this?:
sub foo($x, $y) { say $x ~ $y; }; my $foo_ref := foo; # ?
Thanks for the help. It looks like you have the beginnings of a perl6reftut here!
In reply to Re^6: Reference in Perl 6
by Anonymous Monk
in thread Reference in Perl 6
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |