in reply to Re^2: error : can't locate object method "getAttribute" via package XML::DOM::NodeList
in thread error : can't locate object method "getAttribute" via package XML::DOM::NodeList
Yes, that function makes sense and is documented for an XML::DOM::Element. But what ->getElementsByTagName returns is not a single XML::DOM::Element object. Please refer to the SYNOPSIS section of XML::DOM to see the correct usage.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: error : can't locate object method "getAttribute" via package XML::DOM::NodeList
by ankit.tayal560 (Beadle) on Sep 27, 2016 at 09:11 UTC | |
by Corion (Patriarch) on Sep 27, 2016 at 09:12 UTC |