you can also Tie::File.

On Wed, Jun 17, 2009 at 2:42 PM, Irfan Sayed <irfan_sayed2...@yahoo.com>wrote:

> Hi All,
>
> I am struggling with file handling in perl. i want to do following
> operation .
>
> 1: open the file
> 2: read the file
> 3: do the changes in specific lines
> 4: save the file
> 5: close the file
>
> i am not getting which operand i should use to do this operation . i tried
> all operands like >, >>, <, +<, +>
>
> please advice
>
> here is the line which i am using to open the file
>
> open (FILE, "+<", '.\Metrino\MonitoringSystem\Rtu\RtuInstallKit\EXFO RTU
> System\EXFO RTU System.vdproj') or die "Couldn't open for reading: $!\n";
>
> plz plz advic
>
> regards
> Irf
>
>
>
>

Reply via email to