Dennis P Mulqueeny <Dennis.P.Mulqueeny@wellsfargo.com> writes: >I have a Perl script running under version 5.8.5 on a sun4-solaris >system. > >I have coded it to process a very small subset of Visual Basic code that >is stored in an XML document. I currently use an eval to run the code >reference (anonymous subroutine). There are actually 5 separate scripts >in this XML document. One of the script fields is: > ><SCRIPT>' Data.Value function changed to specify number of characters to >pad input for Perl where needed >Dim year >Dim month >Dim day >Dim century > >It takes a long time to run (23 minutes to process 324,834 records) and >I get the "Out of memory!" error after about 700,000 records. Is there >a better way of doing this so as to avoid the eval? Sounds like a "source filter" would suit your needs nicely. See Filter::Simple in CPANThread Previous | Thread Next