David Nicol wrote:
> On 7/14/06, Craig Cardimon <[EMAIL PROTECTED]> wrote:
> 
>> Anyone know how I might try to accomplish this?
>>
>> Craig
> 
> another way to do it, if you have enough memory to slurp the whole file,
> would be to slurp the whole file and then split it on /<TAG>/ and then
> look at those pieces in turn, before and after their /<\/TAG>/ marker.
> 

That is, indeed, the rub. Some files are HUGE (large enough to bring the 
system to its knees), and slurping is out of the question -- much to my 
chagrin. To make this script handle ALL cases, I have to pretend all 
files are biggies, and process line-by-line.

Craig

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to