- or download this
perl -p -i.bak -w -e 's/dude/Johnny5/g' myinfo.txt - or download this
LINE:
while (<>) {
...
} continue {
print or die "-p destination: $!\n";
}
- or download this
#!/usr/bin/perl -w
...
} continue {
print or die "-p destination: $!\n";
}