In article 
<[email protected]>,
 [email protected] (mani kandan) wrote:

> Hi,

We have file size of huge size 500MB, Need to Manipulate the file, some 
> replacement and then write the file, I have used File::slurp and works for 
> file size of 300MB (Thanks Uri) but for this huge size 500MB it is not 
> processing and come out with error. I have also used Tie::file module same 
> case as not processing, any guidance.

regards
Manikandan


Hi,


have you try this kind of command :

  perl -p -i -e "s/oneThing/otherThing/g" yourFile

hang or not ?


and, 500MB is not a "gigantic" file :)


-- 
klp

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to