Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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");

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1001152]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2017-11-22 07:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (316 votes). Check out past polls.

    Notices?