Can you open a file for reading and writing as the same time?

Leon wrote:

> There are many ways to do it. Some would use regexes or map. Anyway heres
> one solution assuming your file contain only 1 word in one line..
> 
> open FILE, 'yourfile.txt' or die "$!\n";
> while (<FILE>){
>          chomp;
>          $_ = "$_\@minime.com";
>          print "$_\n";
> };
> close FILE;


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to