Just another Perl shrine | |
PerlMonks |
Re^3: XML::Twig to mysql totally lostby mirod (Canon) |
on Jul 15, 2011 at 07:48 UTC ( [id://914519]=note: print w/replies, xml ) | Need Help?? |
You are probably using a RedHat-based distribution, which includes Scalar::Util without its XS part, and so doesn't provide weaken (see Task::Weaken). The solution would be to re-install Scalar::Util, from CPAN.
Also, I am not sure why you do a $twig->flush; at the end of your code, since you are not outputting the XML at all.
In Section
Seekers of Perl Wisdom
|
|