in reply to Re^2: split file in N part
in thread split file in N part
"accessing the length of the array via $x = scalar @tied_file accesses all records and stores their offsets."
Yowch! Missed that bit.
Blind CPANitis serves no one.
It is unfortunate that some modules have limitations. (In fact, I personally don't bother with Tie::File, ever since I noticed that using it to modify file contents can cause corruption.) But I don't believe that we should ignore CPAN or discourage the use of modules. IMHO, one shouldn't worry about the limitations of a module unless and until one has reason to believe that one's usage will be affected. And you'll notice that I referred to File::Split as an afterthought, not as a first and only suggestion.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: split file in N part
by BrowserUk (Patriarch) on Mar 10, 2008 at 18:24 UTC |