Mnemonics
"pair","position","print","pipe"
- just a letter, but has a few extra uses
Used alone
- is just an alphanumeric character
Operators containing this character
- p5=> is a perl5 fatarrow intended for use by automated code converters
When used inside regexes
- :p :pos try to match only at the specified string position
- :panic causes this regex and all invoked subrules to try to backtrack
As an adverb
Other Uses
Old, deprecated, or other language uses
- -p command line flag was also there in perl5
- \p was a named property in perl5 regexps, that is now done with subrules in regexes