M
MJS
I am new to perl and I need some help with the following problem.
I have two files viz. file1 and file2. I have to determine if a scalar
variable in file1 (without knowing its location) has a certain value
(say 10). If its true, then I have to add file2 to file1 at a certain
location.
So my question is how to do this and how to write at a certain
location in file1.
I would highly appreciate your help.
Thanks in anticipation.
I have two files viz. file1 and file2. I have to determine if a scalar
variable in file1 (without knowing its location) has a certain value
(say 10). If its true, then I have to add file2 to file1 at a certain
location.
So my question is how to do this and how to write at a certain
location in file1.
I would highly appreciate your help.
Thanks in anticipation.