Help for this page

Select Code to Download


  1. 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.
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
              'This is the changed line in the file.',
              'This is the forth line in the file.'
            ];
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
    $ perl test.pl
    StdOut: 'file.txt' -> 'fileTest.txt'