| File::Data::Simple - Simple file r/w/a interface. |
File::Data::Simple - Simple file r/w/a interface.
# read data my $data = File::Data::Simple->read('./example.data'); my @lines = File::Data::Simple->read('./example.txt');
# or OOP way: my $f = File::Data::Simple->new; my $data = $f->read('./example.data');
# write data File::Data::Simple->write('./exapmle.data', $data);
# append data File::Data::Simple->append('./example.txt', $text);
This module provides simple read and write file interfaces.
If you call this module's function multiple times, OOP way has more performance. Because OOP way reuse one FileHandle object created once.
Daisuke Murase <typester@cpan.org>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
| File::Data::Simple - Simple file r/w/a interface. |