Skip Menu |

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

Report information
The Basics
Id: 18938
Status: resolved
Priority: 0/
Queue: XML-Simple

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

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



Subject: Add support for XMLin() variables with `.' in them
I'd like to have variable names with dots it them. Example: ${session_firm.logo}, ${session_user.name}. It should be rather simple, probably only changing line 897 from: $val =~ s{\$\{(\w+)\}}{ $self->get_var($1) }ge; in: $val =~ s{\$\{([\w\.]+)\}}{ $self->get_var($1) }ge; I can provide also patches for tests if needed. Thank you for your attention.
Thanks for the suggestion. I've committed the change in CVS.