Re: problem with File::Util::readlimit

2013-05-09 Thread Brandon McCaig
On Thu, May 09, 2013 at 08:51:23AM +0200, Luca Ferrari wrote: > In fact I was discovering it too reading the code, I've > submitted a bug report for this. I also submitted a bug report (so now I feel doubly bad for not letting the list know so he didn't get duplicates; twice the noise). I was info

Re: problem with File::Util::readlimit

2013-05-08 Thread Luca Ferrari
On Wed, May 8, 2013 at 8:24 PM, Brandon McCaig wrote: > Looks like it raises an exception if the argument doesn't match a > NON-"digit" character. Which seems like the opposite of what is > wanted. > In fact I was discovering it too reading the code, I've submitted a bug report for this. Thanks

Re: problem with File::Util::readlimit

2013-05-08 Thread Brandon McCaig
On Wed, May 08, 2013 at 06:49:48PM +0200, Luca Ferrari wrote: > Hello, Hello, > I'm encountering a problem with File::Util that I'm not able to > see, and I'm sure it's trivial: > > my $handle_file = new File::Util; > my $files_for = {}; > my $max_file_size = int( 1024 * 1024 * 1024 ); > $hand

RE: problem with File::Util::readlimit

2013-05-08 Thread Peter Ezetta
Hi Luca, I am hoping someone else can speak to this more than I can, but I messed around with your code and did a bit of reading on File::Util, and was able to get the code to execute properly as follows: #!/usr/bin/env perl use Modern::Perl 2011; use autodie; use File::Util; my $max_file_siz