diff options
| author | fukachan <fukachan> | 2001-05-04 14:32:32 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-05-04 14:32:32 +0000 |
| commit | 149320fad450d354f755201015ae3826ee5d0fe6 (patch) | |
| tree | 34d5d452336e31124a7b3309da21f95d2b0c0460 /fml/lib/IO/Adapter/File.pm | |
| parent | b4ef1b3d71ef5fab8342c22007066aa0d22267d7 (diff) | |
| download | fml8-149320fad450d354f755201015ae3826ee5d0fe6.tar.gz fml8-149320fad450d354f755201015ae3826ee5d0fe6.tar.bz2 fml8-149320fad450d354f755201015ae3826ee5d0fe6.zip | |
rename class from IO::MapAdapter to IO::Adapter.
Diffstat (limited to 'fml/lib/IO/Adapter/File.pm')
| -rw-r--r-- | fml/lib/IO/Adapter/File.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fml/lib/IO/Adapter/File.pm b/fml/lib/IO/Adapter/File.pm index 585209d8..4da370ac 100644 --- a/fml/lib/IO/Adapter/File.pm +++ b/fml/lib/IO/Adapter/File.pm @@ -5,7 +5,7 @@ # redistribute it and/or modify it under the same terms as Perl itself. # # $Id$ -# $FML: File.pm,v 1.20 2001/04/03 09:45:45 fukachan Exp $ +# $FML: File.pm,v 1.21 2001/04/08 13:25:40 fukachan Exp $ # package IO::Adapter::File; @@ -25,15 +25,15 @@ IO::Adapter::File - IO functions for a file To read list - use IO::MapAdapter; - $obj = new IO::MapAdapter $map; + use IO::Adapter; + $obj = new IO::Adapter $map; $obj->open || croak("cannot open $map"); while ($x = $obj->getline) { ... } $obj->close; To add the address - $obj = new IO::MapAdapter $map; + $obj = new IO::Adapter $map; $obj->add( $address ); To delete it @@ -44,7 +44,7 @@ To delete it =head1 DESCRIPTION This module provides real IO functions for a file used in -IO::MapAdapter. +IO::Adapter. The map is the fully path-ed file name or a file name with 'file:/' prefix. @@ -339,7 +339,7 @@ sub replace =head1 SEE ALSO -L<IO::MapAdapter> +L<IO::Adapter> =head1 AUTHOR |
