Perl is a command line interpreter that used to execute the perl script programs

Perl command line options

perl -e

 perl -e 'print "Hello welcome\n"'

perl -c This allows you compile the perl script without execute a program.

It shows if any syntax and compile errors with this.

perl -c
  • Perl version
perl -v
perl -V
  • Perl -w option
perl -w

perl -w option gives warning message displayed about perl script program