I have seen lots of ways of running Perl code or scripts, with different flags. However, when I try to google for what each flag means, I mainly get results to generic Perl sites and no specific information regarding the flags or their use is found there.
Below are the flags that I encounter most often, and I don't have a clue what they mean:
- perl -pe
- perl -pi
- perl -p
- perl -w
- perl -d
- perl -i
- perl -t
I will be very grateful if you tell me what each of those mean and some use cases for them, or at least tell me a way of finding out their meaning.
perldoc perlrun
has a list of all the command-line options Perl accepts. – Jacksonjacksonville