Skip Menu |

This queue is for tickets about the Data-Dump CPAN distribution.

Report information
The Basics
Id: 54031
Status: resolved
Priority: 0/
Queue: Data-Dump

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

Bug Information
Severity: Wishlist
Broken in: 1.15
Fixed in: (no value)



May I ask what is the reason to quote \w only hash keys longer than 19 characters?? This looks kinda silly: attr => { deliveryGeneralType => 3, deliveryLabelType => 6, deliveryPersistType => 3, description => undef, "effectiveDeliveryBeginDate" => undef, "effectiveExchangeDate" => undef, "plannedDeliveryBeginDate" => undef, plannedExchangeDate => undef, provider1ID => undef, provider2ID => "#_3_6", provider3ID => undef, transferabilityType => undef, }, (This comes from some XML after quite a bit of massaging and simplification, the original is insane.) Maybe this could be an option ... :-)
On Wed Jan 27 06:49:38 2010, JENDA wrote: Show quoted text
> May I ask what is the reason to quote \w only hash keys longer than
19 Show quoted text
> characters?? > > This looks kinda silly: > > attr => { > deliveryGeneralType => 3, > deliveryLabelType => 6, > deliveryPersistType => 3, > description => undef, > "effectiveDeliveryBeginDate" => undef, > "effectiveExchangeDate" => undef, > "plannedDeliveryBeginDate" => undef, > plannedExchangeDate => undef, > provider1ID => undef, > provider2ID => "#_3_6", > provider3ID => undef, > transferabilityType => undef, > }, > > (This comes from some XML after quite a bit of massaging and > simplification, the original is insane.) > > Maybe this could be an option ... :-)
Tried it just now with the latest 1.16, I believe this does not happen anymore? I even tried with longer keys (e.g. 100 \w only characters) and Data::Dump does not quote it. -- sh
Should be fixed in 1.16