Hi,
I'm very sorry for bothering you with such simple question.
The single excuse is I see Perl program at the first time in my life.
Can you please help me?
I have some file with records looking like:
/directory/subdir/unknowndir/file
I need to change this "unknowndir" with a value of some variable.
That is, with $variable="/newestdir", for example.
I need redo the above line into
/directory/subdir/newestdir/file.
Thank you in advance.
And sorry for bothering once more.
Anta
I'm very sorry for bothering you with such simple question.
The single excuse is I see Perl program at the first time in my life.
Can you please help me?
I have some file with records looking like:
/directory/subdir/unknowndir/file
I need to change this "unknowndir" with a value of some variable.
That is, with $variable="/newestdir", for example.
I need redo the above line into
/directory/subdir/newestdir/file.
Thank you in advance.
And sorry for bothering once more.
Anta