How to check version of perl on your machine ?
-
perl -b
-
perl -version
-
perl -c
-
perl -k
B
Correct answer
Explanation
The perl -version command displays detailed Perl version information on your system. While perl -v also works (short form), perl -version is the explicit version flag. Options like -b (parse), -c (syntax check), and -k serve different purposes and don't display version information.