in reply to Using the XMLin() method in XML::Simple not working
Is that the exact code, or are you writing from memory? It looks like it should work. The error message you received tells you that the XMLin function was not imported into your namespace.
Are you perhaps loading XML::Simple like this:
use XML::Simple ();
The () tell perl to not import any symbols when loading the module. The easiest way to see if this is your problem is to fully qualify the call to XMLin (which makes your code a lot clearer as well IMO)
$outxmlParsed = XML::Simple::XMLin($1);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using the XMLin() method in XML::Simple not working
by heigold1 (Acolyte) on May 31, 2005 at 19:45 UTC | |
by ikegami (Patriarch) on May 31, 2005 at 20:05 UTC | |
by cees (Curate) on May 31, 2005 at 20:08 UTC |