Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Thanks !! (XML + Excel) with (win32::OLE and XML::Simple)

by davidrw (Prior)
on Dec 07, 2008 at 22:14 UTC ( #728804=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Thanks !! (XML + Excel) with (win32::OLE and XML::Simple)
in thread Thanks !! (XML + Excel) with (win32::OLE and XML::Simple)

Only problem is that your suggestion doesn't keep them sorted any more
I noted that i at the bottom of my suggestion (after the code blocks), w/how to fix it:
NOTE: I noticed after i wrote it out that the while loses the sort keys functionality you had. If that's important, you can replace while( my ($sub2, $aoh2) = each %$sub2Hash ){ with:
foreach my $sub2 ( sort keys %$sub2Hash ){ my $aoh2 = $sub2Hash->{$sub2};


Comment on Re^3: Thanks !! (XML + Excel) with (win32::OLE and XML::Simple)
Select or Download Code
Replies are listed 'Oldest First'.
Re^4: Thanks !! (XML + Excel) with (win32::OLE and XML::Simple)
by Sporti69 (Acolyte) on Dec 08, 2008 at 08:54 UTC
    I did change the code like you said. Maybe not completely... because $sub2Hash doesn't exist, its $doc->{$level1}$i in stead of only $sub2Hash. Or did you see it otherwise ?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://728804]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (16)
As of 2015-07-07 17:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (92 votes), past polls