We don't bite newbies here... much | |
PerlMonks |
Re: __DATA__ in XML::Simple and/or IO::Handleby runrig (Abbot) |
on Oct 03, 2006 at 17:20 UTC ( [id://576131]=note: print w/replies, xml ) | Need Help?? |
This works fine for me: 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.
In Section
Seekers of Perl Wisdom
|
|