in reply to tie multiple files to a single array?
I don't know if something like that is currently available on CPAN. I doubt it, but then again, I wouldn't be surprised... It wouldn't be too hard to write a "Tie::MultiFile" (or whatever) for read-only access though. If you were to allow updates, it might be hard to decide which file to update when an insertion occurred on the boundary between two files.
Do you really need random access to the lines in the files? If not, can you get by with populating @ARGV and just using the empty diamond operator?
-sauoq "My two cents aren't worth a dime.";
|
|---|