Subject: | Intermittent bug related to line 25 in v0.18 of Path::Class::Dir |
Date: | Wed, 12 May 2010 11:36:54 -0400 |
To: | bug-Path-Class [...] rt.cpan.org |
From: | dillman [...] ria.buffalo.edu |
I've been trying to track down a bug for the last couple days & the silly
critter just won't stand still.
When I take a Path::Class::Dir object and use a method that attempts to
clone that object (for example the file method, needs a new dir object in
the file object) sometimes it works great sometimes I get:
Operation "eq": no method found,
left argument in overloaded package Path::Class::Dir,
right argument has no overloaded magic at
C:/Perl64/site/lib/Path/Class/Dir.pm line 25.
As far as I can tell, when things go well, perl stringifies the Dir object
to the left of the eq & life is good. Unfortunately I can't see what is
causing the difference between the good calls & the bad. I've seen a file
method blow up on a Dir object that had just recently created a File
object without error.
I wish I could be more informative. This issue has been quite slippery.
Thomas J. Dillman
Research Institute on Addictions
1021 Main Street, Buffalo, NY 14203