in reply to Re: problems with xml data being returned
in thread problems with xml data being returned

XMLFileData is yet another subroutine its reading the files. I am new to perl and having trouble understanding what the code means it wouldn't be so bad but I didn't write it and its quite large and not all that modular either :( ah code tags..I thought there must be an easier way.
  • Comment on Re^2: problems with xml data being returned

Replies are listed 'Best First'.
Re^3: problems with xml data being returned
by runrig (Abbot) on Jul 19, 2007 at 16:27 UTC
    I can't look any more deeply at the problem until you look closely at these two lines:
    my $xml = xmlFileData("Config",$Session->{'usrSystem'}.".config.xm +l","getConfig()"); if (!$xml)
    I have no idea what the arguments are, and even if I did know what the args were, I don't really feel like debugging the bunch of code in xmlFileData that you just posted. So, like I said before, check the arguments. If the arguments look ok, debug what's happening in xmlFileData(). Look at one thing at a time until you find out what the problem is. Try reading brian's Guide to Solving Any Perl Problem.