Return to Snippet

Revision: 4620
at January 13, 2008 19:14 by amosshapira


Initial Code
perl -e '$!=X;print"$!\n"'

Initial URL

                                

Initial Description
Sometimes you can find error numbers in log files from various programs or even the kernel. This one-liner can be used to convert the error number into a meaningful message. "X" is the error number.

Initial Title
Convert error number to error message

Initial Tags
error

Initial Language
Perl