#!/usr/bin/perl -i.bak -wp c:/test.txt print "newline\n" if m/somecond/; s/this/that/;
IMHO command line switches are a Good Thing (tm).
In reply to Re:{2} Printing to a specific place in a file
by jeroenes
in thread Printing to a specific place in a file
by lagrenouille
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |