in reply to Is there exist a module to provide access to a file via hashes using TIE ?
There is File::Slurp which provides read_file(), write_file(), append_file(), and read_dir(). I often use it for both long and short programs. It's one of my favourite can't-live-without modules. I think it pretty much does what you want, but with another interface, and you need to perhaps use an intermediate scalar.
ihb
Read argumentation in its context!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is there exist a module to provide access to a file via hashes using TIE ?
by JediWizard (Deacon) on Sep 23, 2004 at 23:26 UTC |