Help for this page
Select Code to Download
Select
or
download this
ls testfile | perl -lpi -e 's/e/*/'
Select
or
download this
ls testfile | xargs perl -lpi -e 's/e/*/'
Select
or
download this
find ... -print | perl -pi.bak -e 'BEGIN { chomp(@ARGV = <STDIN>) } s/foo/bar/g'
Select
or
download this
LINE: while (<>) { ... }
Select
or
download this
LINE: while (@ARGV) { ... }