in reply to XML::Parser and Subs in a sub

Is there some compelling reason why you are looking to
'roll your own' as opposed to calling the module from your script? If you had it working why break it?
hth
jg
_____________________________________________________
Ain't no time to hate! Barely time to wait! ~RH

Replies are listed 'Best First'.
Re: Re: XML::Parser and Subs in a sub
by Emanuel (Pilgrim) on Oct 03, 2001 at 06:25 UTC
    the way I had it working was by loading the xml from a file and do the parsing, so to say a simple test script to get the feel for xml::parser. that's why I then wanted to get it into my main script.
    i don't see why it works 'standalone' but doesn't(with almost the exact same code) inside my script

    emanuel
    emanuel@xconnect.ch