Re: Manipulating XML in Perl



On May 8, 6:08 pm, chris.s...@xxxxxxxxx wrote:
So in talking to some people I think my issue is that XML::Simple will
automatically create arrays where there are more than one element.

So depending on the data you parse .. you can have Arguments as an
array or a hash... probably a main source of my confusion.

Ideas how to get around this?

My advice is don't use XML::Simple, use one of the DOM or SAX based
XML parser modules.

.



Relevant Pages

  • Re: Controlling pci bus utilization
    ... arrays, right? ... Solaris 10 is considerably more efficient doing IO than Solaris 9, ... This may or may not help your problem depending on it's source. ... Solaris 10 is also much more accurate doing process accounting; ...
    (comp.unix.solaris)
  • Re: Delphi - does catastrophe loom ? (long)
    ... >Mat Ballard wrote: ... >> you would if you worked with Matrices 8^) or Arrays. ... >Depending on how important it is to use your code everywhere, ... Anders Isaksson, Sweden ...
    (borland.public.delphi.non-technical)
  • Re: Null object = Zero
    ... but my arrays have 1001 elements each .. ... Still not impossible to type 2000+ characters. ... quickest way, depending on the relative communication, parsing and ...
    (comp.lang.postscript)
  • Re: FC Challenge proposal
    ... Depending on the size of your arrays, a solution could to change the challenge ... generate conversion code dynamically, and maybe, even apply some extra math ... (clamping, scaling, offsetting, that kind of stuff). ...
    (borland.public.delphi.language.basm)
  • Re: How to convert int to byte[]
    ... Shankar wrote: ... > How can we convert the integer values to byte arrays using C#.NET ... Depending on exactly what you want, BitConverter is usually the way to ...
    (microsoft.public.dotnet.languages.csharp)