develooper Front page | perl.perl5.porters | Postings from September 2012

perl5.17.1 + overload + Perl6::Export::Attrs = recursion?

Thread Next
From:
=?utf-8?B?SmnFmcOtIFbDoWNsYXbDrWs=?=
Date:
September 6, 2012 08:03
Subject:
perl5.17.1 + overload + Perl6::Export::Attrs = recursion?
Message ID:
20120906150031.GA16458@petamem.com
I am just playing with perl5.17.1 and found this, maybe it could help.

Following module MyModule.pm gets into some recursion when calling "perl
MyModule.pm". It is taking more and more memory. In versions up to
5.16.1 it works as expected.

Here is the code.


package Regexp;
use overload (qq{""} => sub { $_[0] });

package MyModule;
use Perl6::Export::Attrs;

1;

-- 
best regards,

     Jiří Václavík - PetaMem R&D

     - The PetaMem Group - Prague/Nuremberg - www.petamem.com -

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About