On Wed, Mar 16, 2005 at 08:46:03PM +0800, Autrijus Tang wrote:
Does that form still work with Perl 6? Or should I use this?
{ local _ := ok; call($lhs == $rhs, $todo); }
s/local/my/ of course. :-)
Thanks,
/Autrijus/
pgpGy03aIypYS.pgp
Description: PGP signature
On Wed, Mar 16, 2005 at 08:46:03PM +0800, Autrijus Tang wrote:
: Just a quick question. In Pugs t/op/arith.t we have:
:
: sub tryeq_sloppy ($lhs, $rhs, ?$todo1 = '') {
: ...
: ok($lhs==$rhs,$ todo);
: ...
: }
:
: But it breaks the $?CALLER based error reporting,
On Wed, Mar 16, 2005 at 10:24:16AM -0800, Larry Wall wrote:
On Wed, Mar 16, 2005 at 08:46:03PM +0800, Autrijus Tang wrote:
: Is using wrap/call the correct choice here, or is there another way
: to do it that I missed?
wrap/call should do what you want there, but if you want to hack in
On Thu, Mar 17, 2005 at 02:38:45AM +0800, Autrijus Tang wrote:
: On Wed, Mar 16, 2005 at 10:24:16AM -0800, Larry Wall wrote:
: On Wed, Mar 16, 2005 at 08:46:03PM +0800, Autrijus Tang wrote:
: : Is using wrap/call the correct choice here, or is there another way
: : to do it that I missed?
:
: