Multiple choice technology programming languages

How to check version of perl on your machine ?

  1. perl -b

  2. perl -version

  3. perl -c

  4. perl -k

Reveal answer Fill a bubble to check yourself
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.