This queue is for tickets about the XML-Simple CPAN distribution.

Report information
The Basics
Id:
79805
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
PJNEWMAN [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
2.18
Fixed in:
(no value)



Subject: Changing KeyAttr when using Storable cache doesn't flush cached copy, so appears not to resolve issue
Actually with a subject line this time... Using Storable 2.20. Was initially using XMLin($serviceDef, ForceArray => 1, Cache => [ 'storable' ]), then got reminded of keyattr with an attribute called name, (already aware of and using it elsewhere, this is just older code), so switched to XMLin($serviceDef, ForceArray => 1, Cache => [ 'storable' ], keyattr => []). It still wasn't working; I eventually realised it's because the file hasn't changed, so it hadn't refreshed the cached version. I deleted the .stor file, and it all came good. I don't know if there's an easy workaround, perhaps storing the XMLin config within the stor file, or if its worth the processor hit. I guess it's probably only a developer issues really. Anyway I thought I ought to raise the bug at least.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.