>perl -E"open my $fh, '<', 'nonexistent'; say 0+$^E; say ''.$^E;" 2 The system cannot find the file specified
Like $! , $^E is a double, scalar that contains two values. One line and one number.
>perl -E"say $^E = 0x20;" The process cannot access the file because it is being used by another process
source share