Re: XML::Twig - Memory usage problem

Bill Luebkert <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
mirod wrote:
> howard chen wrote:
>> 
>> 				@_[0]->purge;
>> 			},
>> 		}
>> 	);
>>
>> $t->parsefile( "company.xml" );
>> $t->purge;
> 
> Is this a direct cut'n paste?
> 
> Because it should be $_[0]->purge in the sub, not @_[0]. (always, ALWAYS use
> strict...)

That'll just get you a warning - shouldn't create any problems though.
I do agree with your () though.
_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.