in reply to Re^2: getting parts of the strings from a file into managable variables
in thread Help:getting parts of the strings from a file into managable variables

Hmmm, you might try changing the regexp to something like
my ($key, $value) = m{^\s*<([^>]+)>\s*(.*)<}i;
Although I'm starting to agree with the others that a real XML parser might be the way to go.
  • Comment on Re^3: getting parts of the strings from a file into managable variables
  • Download Code