Skip to content
dbbolton edited this page Sep 14, 2010 · 23 revisions

Usage

Examples:

Input Evaluates to
pl '$_="foo"; print if /o/;' perl -e '$_="foo"; print if /o/;'
pl 's/foo/bar/g' pw file.txt .bak perl -p -w -i.bak -e 's/foo/bar/g' file.txt

Clone this wiki locally