![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Ulimit being reachedby viffer (Beadle) |
on Jan 14, 2015 at 03:30 UTC ( #1113174=note: print w/replies, xml ) | Need Help?? |
The ulimit is set at system level - and has since been increased. I wanted to trap an error when perl tried to write to a file and exceeded the ulimit. The closing file handle worked ok. Since then we have come up with the following to trap the error - although it has thrown up a strange error of not liking the "|| die" appearing on a separate line. The error message produced is: writing 'splat' A file cannot be larger than the value set by ulimit. at u3.pl line 12.
In Section
Seekers of Perl Wisdom
|
|