Re: nested subroutines and shared variables

2002-09-18 Thread Bernd Prager
> > Why dont you just define the function outside and call them from inside > your master function > > Bernd Prager wrote: > > > > I run into a problem and would appreciate some help. > > > > I'd like to write a subroutine that parses an XML file.

nested subroutines and shared variables

2002-09-18 Thread Bernd Prager
Hi, I run into a problem and would appreciate some help. I'd like to write a subroutine that parses an XML file. I use XML::Parse and one way that works is to define subroutines with the name of an XML tag and every appearance of that tag calls the appropriate subroutine. Since I want to have t