Slide 6 of 12
Notes:
By default, // assumes "m".
Can use anything !! '' --symbolk of your choice.
Dissect: operation/find/replace/options
g Replace globally, i.e., all occurrences (substitute only).
i Do case-insensitive pattern matching.
o Compile pattern only once.
The simplest regular expression: any string
perl -ne "print if m/start/;" testfile.txt