From: "ara.t.howard" Date: 2008-09-13T03:36:17+09:00 Subject: Re: Strange Errno::EOVERFLOW error with IO#read and IO#sysread On Sep 12, 2008, at 11:28 AM, Daniel Berger wrote: >>> >> >> your programs are so powerful daniel - they're overwhelming the >> system! maybe if you re-write in perl the system will be able to >> handle them. > > Nope: > > use strict; > use warnings; > > my $file = "/proc/383/as"; > > open(FH, $file) or die $!; > > my $buf = ""; > > # Dies here with: Value too large for defined data type > read(FH, $buf, 4, 0) or die $!; > > close(FH); > > Regards, > > Dan > /me kids /dan needs more coffee ;-) a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama