diff options
| author | fukachan <fukachan> | 2001-03-07 18:23:14 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-03-07 18:23:14 +0000 |
| commit | e7d83ab868dede9a3793712b53036d77d3cd2be8 (patch) | |
| tree | 8fb03a38ea85d7700b3aa916441284e327af896d /fml/lib/File | |
| parent | c8ded78023c1b8c3fd8cf2063976f0c13e44216f (diff) | |
| download | fml8-e7d83ab868dede9a3793712b53036d77d3cd2be8.tar.gz fml8-e7d83ab868dede9a3793712b53036d77d3cd2be8.tar.bz2 fml8-e7d83ab868dede9a3793712b53036d77d3cd2be8.zip | |
clean up English ;)
Diffstat (limited to 'fml/lib/File')
| -rw-r--r-- | fml/lib/File/Errors.pm | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/fml/lib/File/Errors.pm b/fml/lib/File/Errors.pm index 3846eb1e..2980fd0c 100644 --- a/fml/lib/File/Errors.pm +++ b/fml/lib/File/Errors.pm @@ -23,24 +23,27 @@ File::Errors - error handling utilities =head1 SYNOPSIS - package Something; - use File::Errors qw(error_reason error error_reset); +Consider C<Something> class module - sub xxx - { - if something errors ... - $self->error_reason( error reason ); - } + package Something; + use File::Errors qw(error_reason error error_reset); -When you use Something module, + sub xxx + { + if something errors ... + $self->error_reason( error reason ); + } - use Something; - $obj = new Something; - unless ($obj->error) { $obj->do_somting( ...); }; +You use C<Something> module like this. + + use Something; + $obj = new Something; + $obj->xxx(); + unless ($obj->error) { $obj->do_somting( ...); }; =head1 DESCRIPTION -utility functions to manipulate error messages. +simple utility functions to manipulate error messages. =head1 METHODS @@ -79,7 +82,6 @@ sub error_reset } - =head1 AUTHOR Ken'ichi Fukamachi |
