Re: errno=104

[prev] [thread] [next] [lurker] [Date index for 2006/08/23]

From: A. Pagaltzis
Subject: Re: errno=104
Date: 12:23 on 23 Aug 2006
* Dominic Mitchell <dom@xxxxxxxxxxxx.xxx> [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;
There's stuff above here

Generated at 03:01 on 31 Aug 2006 by mariachi 0.52