Re: detect disk full when write to handle

2010-03-20 Thread Walt Chen
Hi Charles John Thank you for the help. Your explanations are straightforward. > C.DeRykus wrote: >> >> On Mar 19, 8:31 pm, godsarm...@gmail.com (Walt Chen) wrote: >>> >>> I have a public disk partition shared by different users. Everyone on >>> the host writes different temporary file from time

Re: Save to memory temporarily

2010-03-20 Thread raphael()
On Thu, Mar 18, 2010 at 11:17 PM, Linux Expert wrote: > > > > > > Not easily. WWW::Mechanize is a LWP::UserAgent; look at the > > documentation for that module and see the :content_cb hook. Write a > > handler to concatenate data in memory until you reach 10MB and then flush > > to disk, writing

Re: detect disk full when write to handle

2010-03-20 Thread John W. Krahn
C.DeRykus wrote: On Mar 19, 8:31 pm, godsarm...@gmail.com (Walt Chen) wrote: I have a public disk partition shared by different users. Everyone on the host writes different temporary file from time to time. So the partition runs out of available disk space sometimes. I have a perl script to wr

Re: detect disk full when write to handle

2010-03-20 Thread C.DeRykus
On Mar 19, 8:31 pm, godsarm...@gmail.com (Walt Chen) wrote: > Hi > > I have a public disk partition shared by different users. Everyone on > the host writes different temporary file from time to time. So the > partition runs out of available disk space sometimes. > > I have a perl script to write s

Re: perl system return 256

2010-03-20 Thread syd_p
On 18 Mar, 23:10, rvtol+use...@isolution.nl ("Dr.Ruud") wrote: > syd_p wrote: > > The embedded system call fails ie  returns 256 [i caught the code with > > a > > $ret = system (" /usr/bin/cat /tmp/TT.sql | /tmp/TT.cmd");] > > perldoc -f system > > -- > Ruud Ta. I did look at the ouput from perldo