* Dominic Mitchell <[email protected]> [2006-08-23 11:45]:
> Normally, that's one of the standard Unix errno codes, which you should
> be able to grep for.  It should be available in the include
> <sys/errno.h>

You can use Perl’s $! magic to avoid all the faffing around:

    $ perl -le'$!=104;print"$!"'
    Connection reset by peer

Regards,
-- 
#Aristotle
*AUTOLOAD=*_;sub _{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};
&Just->another->Perl->hacker;

Reply via email to