From: "Meir Yanovich" <[EMAIL PROTECTED]> > Hello all > im using perl to extract content from several sources and then i need > to preform string pattern search ( using regexp ) > my question is when i extract the content what will be better to > append to one bug file say with some kind of xml structure > or to several text file and the preform in them the search ?
Depends on how do you do the search. If you use anything that will try to parse the whole XML into memory you should definitely stay with the several files. Even with those several files you'd better find a way to do the job without keeping everything in memory. Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
