- or download this
#!/usr/bin/perl
use strict;
...
This is the first line in the file.
This is the third line in the file.
This is the forth line in the file.
- or download this
#!/usr/bin/perl
use strict;
...
'This is the changed line in the file.',
'This is the forth line in the file.'
];
- or download this
#!/usr/bin/perl
use strict;
...
$ perl test.pl
StdOut: 'file.txt' -> 'fileTest.txt'