- or download this
# kids, don't do that at home...
perl -pi -e "BEGIN{binmode *ARGV}; s/f\0o\0o/b\0a\0r/g" *.dll
- or download this
while (<>) {
... # code for each line
}
- or download this
unshift(@ARGV, '-') unless @ARGV;
while ($ARGV = shift) {
...
... # code for each line
}
}