update: My guess at what you were experiencing is that you are opening the file that the DATA handle is pointing to, which is the program file itself, which probably starts with '#!/usr/bin/perl' or somesuch, which is not valid XML.my $xml = XMLin(\*DATA);
In reply to Re: __DATA__ in XML::Simple and/or IO::Handle
by runrig
in thread __DATA__ in XML::Simple and/or IO::Handle
by eXile
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |