Skip Menu |

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

Report information
The Basics
Id: 47039
Status: resolved
Priority: 0/
Queue: XML-RPC-Fast

People
Owner: MONS [...] cpan.org
Requestors: marko.nordberg [...] pp.inet.fi
Cc:
AdminCc:

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



Subject: Custom types using bless
XML::RPC::Fast allows user to define custome types using convention "sub {string => $o}. However this makes XML::RPC::Fast incompatible with modules that use the more common convention "bless (\$o, string)". One example such a module is YAML::XS. Also debugging is more difficult with the first notation. For the first Data::Dumper prints: $VAR1 = sub { "DUMMY" } # practically no information And for the second it prints: bless( do{\(my $o = '12345')}, 'string' ) # All information Proposed improvements: - should support both above conventions to define custom types. - per call or global option to configure the default type for all scalars
I'll look at this. Fix will be in the next version
implemented in 0.4