Re: A GraphViz eye view of Parrot

2006-02-05 Thread dakkar
ce dot to lay it out a bit more clearly. I don't promise anything (I'm not a GraphViz expert by any stretch of the definition), but it might be fun to try. -- Dakkar - GPG public key fingerprint = A071 E618 DD2C 5901 9574

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: How to best have statements execute only during dev/testing?

2006-01-10 Thread dakkar
urnal might help you: http://use.perl.org/~BooK/journal/25445 -- Dakkar - GPG public key fingerprint = A071 E618 DD2C 5901 9574 6FE2 40EA 9883 7519 3F88 key id = 0x75193F88 signature.asc Description: OpenPGP di

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

[PATCH] String literals (was Re: Return of RE match)

2002-10-08 Thread Dakkar
ch: it's quite possible that by adding 'defined' in several places I broke something else. People familiar with the code will undoubtedly correct my patch. -- Dakkar - Index: String.pm === RCS file: /cvs/public/par

Re: Return of RE match

2002-10-07 Thread Dakkar
On 20021007203856, Johan Vromans wrote: > Here it prints "Yes r" and "Yes s" for perl = 5.6.0, 5.6.1, 5.8.0. Yes, that's precisely the point... the current perl6 doesn't. (oh, BTW, in the second line perl5 "promotes" the rhs string to a regexp,

Return of RE match

2002-10-07 Thread Dakkar
t;1" =~ /1/; it does print "Yes r". I also tried: $r= "0"=~/0/; $s= "0"=~"0"; print '|',$r,"|\n"; print '|',$s,"|\n"; (the variable assignment is to (try to) avoid list context) and it prints: || |