Could someone please enlighten me if this is a (old) problem? I had no problems to store an object in a constant.
I think its probably a unclear statement, as its unlikely MSERGEANT didn't know you could write
sub ONE_WEEK() { return bless ... }
http://backpan.perl.org/authors/id/M/MS/MSERGEANT/ dates the module to 2001
perldeltas doesn't show anything relevant , perlbug neither,
But free has more candidates http://perl5.git.perl.org/perl.git/search/HEAD?pg=7;s=constant;st=free but nothing seems on point, even just looking at old constant.pm shows using references as constants ....
So maybe matt was confused at the time :) I doubt I could compile something before before 5.6.2 to check
In reply to Re^4: Arithmetic bug within Time:Piece?
by Anonymous Monk
in thread Arithmetic bug within Time:Piece?
by jeffa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |