[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] A nuisance in Vend::Util.pm?
****** message to minivend-users from Sergio Polini <s.polini@mclink.it> ******
I wrote:
> I already experimented with POSIX, but it doesn't work :-( (I
> always get zero as error code; I'm using RedHat 6.2 - Linux
> 2.2.14-5, Perl 5.005_03 - and Minivend 4.04.)
> However, I often use Perl but I am not a guru; I'd like to know
> how you would patch Util.pm (and Server.pm, BTW) to POSIXize thos
> errore codes.
Sorry!
I was tired when I wrote my message and was still stick with my fore attempts (POSIX::errno()).
Of course, your code
use POSIX qw(:errno_h);
....
if ($! == EAGAIN) {
return 0;
}
works well!
Thanks again.
Sergio
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list