summaryrefslogtreecommitdiff
path: root/fml/lib/File
diff options
context:
space:
mode:
authorfukachan <fukachan>2003-08-23 04:35:25 +0000
committerfukachan <fukachan>2003-08-23 04:35:25 +0000
commitd0c5a95389829a94a429717d0ae10c2872eb25ce (patch)
treee9240d92a7f7470d3bd0a43621b2bf19cc64fe9c /fml/lib/File
parent19aa62773b6f8eebf1d35c4458d9a89b7c1036a7 (diff)
downloadfml8-d0c5a95389829a94a429717d0ae10c2872eb25ce.tar.gz
fml8-d0c5a95389829a94a429717d0ae10c2872eb25ce.tar.bz2
fml8-d0c5a95389829a94a429717d0ae10c2872eb25ce.zip
fix comments: =head2 function(...) form
Diffstat (limited to 'fml/lib/File')
-rw-r--r--fml/lib/File/CacheDir.pm6
-rw-r--r--fml/lib/File/Rotate.pm8
-rw-r--r--fml/lib/File/Sequence.pm8
-rw-r--r--fml/lib/File/SimpleLock.pm6
-rw-r--r--fml/lib/File/Utils.pm4
5 files changed, 16 insertions, 16 deletions
diff --git a/fml/lib/File/CacheDir.pm b/fml/lib/File/CacheDir.pm
index 7cdb71d8..80e34670 100644
--- a/fml/lib/File/CacheDir.pm
+++ b/fml/lib/File/CacheDir.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: CacheDir.pm,v 1.23 2003/01/29 04:46:53 fukachan Exp $
+# $FML: CacheDir.pm,v 1.24 2003/02/01 06:08:40 fukachan Exp $
#
package File::CacheDir;
@@ -178,7 +178,7 @@ sub _take_file_name
}
-=head2 C<open(file, mode)>
+=head2 open(file, mode)
no argument.
@@ -217,7 +217,7 @@ sub open
}
-=head2 C<close()>
+=head2 close()
no argument.
diff --git a/fml/lib/File/Rotate.pm b/fml/lib/File/Rotate.pm
index 1cf771d6..d16701dd 100644
--- a/fml/lib/File/Rotate.pm
+++ b/fml/lib/File/Rotate.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Rotate.pm,v 1.12 2002/09/22 14:56:57 fukachan Exp $
+# $FML: Rotate.pm,v 1.13 2002/12/23 14:35:54 fukachan Exp $
#
package File::Rotate;
@@ -81,7 +81,7 @@ sub new
}
-=head2 C<is_time_to_rotate()>
+=head2 is_time_to_rotate()
C<stat()> the file correspoinding to the object and
determine whether the time to do comes or not.
@@ -106,7 +106,7 @@ sub is_time_to_rotate
}
-=head2 C<rotate()>
+=head2 rotate()
rename files to rotate it.
@@ -156,7 +156,7 @@ sub _get_param
}
-=head2 C<error()>
+=head2 error()
return the error message if exists.
diff --git a/fml/lib/File/Sequence.pm b/fml/lib/File/Sequence.pm
index e9e907b0..ff93019e 100644
--- a/fml/lib/File/Sequence.pm
+++ b/fml/lib/File/Sequence.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Sequence.pm,v 1.32 2003/01/27 03:53:53 fukachan Exp $
+# $FML: Sequence.pm,v 1.33 2003/03/15 09:02:59 fukachan Exp $
#
package File::Sequence;
@@ -61,18 +61,18 @@ As an extension, you can generate a cyclic number by this module.
Please specify C<modulus> parameter in new() method if you want to get
a cyclic number.
-=head2 C<new($args)>
+=head2 new($args)
$args->{ sequence_file } is the file holding the current sequence
number.
$args->{ modulus } is the modulus when you want to get a cyclic
number.
-=head2 C<increment_id([$file])>
+=head2 increment_id([$file])
increment the sequence number.
-=head2 C<get_id([$file])>
+=head2 get_id([$file])
get the sequence number from specified C<$file>.
diff --git a/fml/lib/File/SimpleLock.pm b/fml/lib/File/SimpleLock.pm
index becbdf71..210a74ec 100644
--- a/fml/lib/File/SimpleLock.pm
+++ b/fml/lib/File/SimpleLock.pm
@@ -2,7 +2,7 @@
#
# Copyright (C) 2000,2001,2002,2003 Ken'ichi Fukamachi
#
-# $FML: SimpleLock.pm,v 1.17 2003/01/11 15:14:23 fukachan Exp $
+# $FML: SimpleLock.pm,v 1.18 2003/01/11 15:16:33 fukachan Exp $
#
package File::SimpleLock;
@@ -37,11 +37,11 @@ File::SimpleLock module provides simple lock using flock(2).
=head1 METHODS
-=head2 C<lock($args)>
+=head2 lock($args)
flock(2) for $args->{ file };
-=head2 C<unlock($args)>
+=head2 unlock($args)
unlock flock(2) for $args->{ file };
diff --git a/fml/lib/File/Utils.pm b/fml/lib/File/Utils.pm
index d62ed8f9..e05292df 100644
--- a/fml/lib/File/Utils.pm
+++ b/fml/lib/File/Utils.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Utils.pm,v 1.21 2003/01/11 15:16:33 fukachan Exp $
+# $FML: Utils.pm,v 1.22 2003/01/29 04:46:54 fukachan Exp $
#
package File::Utils;
@@ -140,7 +140,7 @@ sub touch
}
-=head2 C<search_program($file [, $path_list ])>
+=head2 search_program($file [, $path_list ])
search C<$file>.
C<$path_list> is the ARRAY_REF.