Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: How can I free the memory of a XML::Simple-Object

by Anonymous Monk
on Oct 27, 2012 at 03:16 UTC ( #1001152=note: print w/ replies, xml ) Need Help??


in reply to How can I free the memory of a XML::Simple-Object

Try

CProcess->PrintProcessInfo("perl.exe"); eval 'use XML::Simple'; CProcess->PrintProcessInfo("perl.exe"); eval 'no XML::Simple'; CProcess->PrintProcessInfo("perl.exe"); my $xs = new XML::Simple(); CProcess->PrintProcessInfo("perl.exe"); my $root= $xs->XMLin('D:\xTools\test\xmltest.xml'); CProcess->PrintProcessInfo("perl.exe"); undef $xs; CProcess->PrintProcessInfo("perl.exe"); undef $root; CProcess->PrintProcessInfo("perl.exe"); print "\n##########\n"; my $xs = new XML::Simple(); CProcess->PrintProcessInfo("perl.exe"); my $root= $xs->XMLin('D:\xTools\test\xmltest.xml'); CProcess->PrintProcessInfo("perl.exe"); undef $xs; CProcess->PrintProcessInfo("perl.exe"); undef $root; CProcess->PrintProcessInfo("perl.exe");


Comment on Re: How can I free the memory of a XML::Simple-Object
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2014-12-19 04:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (70 votes), past polls