summaryrefslogtreecommitdiff
path: root/fml/lib/IO/File
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-06-01 04:56:42 +0000
committerfukachan <fukachan>2002-06-01 04:56:42 +0000
commitdba757ebc8c0425574b510aae2423f0c297288e6 (patch)
tree18b55413fe027a5114bc2cc60b3ed889ee920b72 /fml/lib/IO/File
parent2ff7fd7271150724acdc895c57a66fadbe1d963c (diff)
downloadfml8-dba757ebc8c0425574b510aae2423f0c297288e6.tar.gz
fml8-dba757ebc8c0425574b510aae2423f0c297288e6.tar.bz2
fml8-dba757ebc8c0425574b510aae2423f0c297288e6.zip
fix @argv check
Diffstat (limited to 'fml/lib/IO/File')
-rw-r--r--fml/lib/IO/File/Atomic.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/fml/lib/IO/File/Atomic.pm b/fml/lib/IO/File/Atomic.pm
index fcf58f11..95a81bcb 100644
--- a/fml/lib/IO/File/Atomic.pm
+++ b/fml/lib/IO/File/Atomic.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: Atomic.pm,v 1.14 2002/04/08 12:44:27 fukachan Exp $
+# $FML: Atomic.pm,v 1.15 2002/06/01 03:01:55 fukachan Exp $
#
package IO::File::Atomic;
@@ -93,7 +93,7 @@ sub new
my ($self, @argv) = shift;
my $me = $self->SUPER::new();
if (defined $me) {
- $me->open(@argv) if defined @argv;
+ $me->open(@argv) if @argv;
return $me;
}
elese {