und to the 2-ary signature
would leave the $a parameter without a value, and so undef (I'm assuming
that pointy sub positional parameters are implicitly optional, otherwise
that statement would be a run-time error). I'm pretty sure I don't know
what 'each' does...
6) It's wr
oo(Str $a) {return 3}
print $foo_A_H.('a');
should that print 3? Or coerce 'a' into ['a'] and print 1?
What about (thinking aloud):
my $foo_static=&foo;
my $foo_dynamic:=&foo;
where the first one has "snapshot" semanti
way to
express the "long name", and use that to get the ref. Is there any
proposed syntax for this? (I ask about syntax because the semantic seems
pretty clear...)
--
Dakkar -
GPG public key fingerprint = A071 E618 DD2C 5901 9574
6FE2
rint foo(1),foo('a');
should have the same effect? Printing 2 twice? I don't expect MMD on
non-multi subs.
--
Dakkar -
GPG public key fingerprint = A071 E618 DD2C 5901 9574
6FE2 40EA 9883 7519 3F88