Some perplexities on S06

2006-01-28 Thread dakkar
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

Re: (multi)subroutine names

2005-06-04 Thread dakkar
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

(multi)subroutine names

2005-06-03 Thread dakkar
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

MMD and redefinition

2005-06-03 Thread dakkar
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