Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I accidentally typed perl v in the terminal and saw a strange message. I tried every letter and found that they all say something like Can't open perl script "z": No such file or directory except four special letters do something different does anyone know why?
perl a (nothing happens) perl b (nothing happens) perl c Unrecognized character \xCF; marked by <-- HERE after <-- HERE near co +lumn 1 at c line 1. perl v Number found where operator expected (Do you need to predeclare "perl" +?) at v line 2, near "perl 5" syntax error at v line 2, near "perl 5" Execution of v aborted due to compilation errors.

Replies are listed 'Best First'.
Re: perl v
by Anonymous Monk on Feb 16, 2026 at 10:06 UTC
    I realized what it had to be and sure enough those files exist! Anyway file a contains the letter a. File b contains the letter b. File c starts with "?????? H__PAGEZERO?" I forget why that exists. File v is perl -v>v
Re: perl v
by Anonymous Monk on Feb 22, 2026 at 11:11 UTC

    If all sorts of ugly things happen try looking for a 'B.pm' that's in one of the local libraries!