in reply to XML::Path Errors

It's just as Perl says - $list_item is undefined and Perl cannot call a method on the undefined value. You will have to assign $list_item a meaningful value before you try to call methods on it. Maybe you meant to pass it as a parameter?

Replies are listed 'Best First'.
Re^2: XML::Path Errors
by Anonymous Monk on Apr 04, 2008 at 15:52 UTC
    I see the $list_item been the processed result(s) of the eval sub, shouldn’t it have something coming from there?

      Your reply makes no sense. $list_item is not assigned to anywhere in the code you show. Maybe you mean something else?