summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Config/Convert.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2005-05-26 09:55:36 +0000
committerfukachan <fukachan>2005-05-26 09:55:36 +0000
commit1175e1d37092e96b0f6eb0d260f0a3a43fc8151d (patch)
treee4f3ffe2d5eb6b2fe5748a079cb5f44170fa5423 /fml/lib/FML/Config/Convert.pm
parent70e6d93883f77bedc82dbef888e850dbcd122d4e (diff)
downloadfml8-1175e1d37092e96b0f6eb0d260f0a3a43fc8151d.tar.gz
fml8-1175e1d37092e96b0f6eb0d260f0a3a43fc8151d.tar.bz2
fml8-1175e1d37092e96b0f6eb0d260f0a3a43fc8151d.zip
not use str.str
Diffstat (limited to 'fml/lib/FML/Config/Convert.pm')
-rw-r--r--fml/lib/FML/Config/Convert.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/fml/lib/FML/Config/Convert.pm b/fml/lib/FML/Config/Convert.pm
index 90c429e6..b18a3aad 100644
--- a/fml/lib/FML/Config/Convert.pm
+++ b/fml/lib/FML/Config/Convert.pm
@@ -1,10 +1,10 @@
#-*- perl -*-
#
-# Copyright (C) 2001,2002,2003,2004 Ken'ichi Fukamachi
+# Copyright (C) 2001,2002,2003,2004,2005 Ken'ichi Fukamachi
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Convert.pm,v 1.18 2004/01/21 03:51:17 fukachan Exp $
+# $FML: Convert.pm,v 1.19 2004/07/23 13:16:36 fukachan Exp $
#
@@ -85,11 +85,11 @@ sub convert
sub convert_file
{
my ($src, $dst, $config) = @_;
- my $dst_tmp = $dst .".". $$;
+ my $dst_tmp = sprintf("%s.%s", $dst, $$);
use FileHandle;
my $in = new FileHandle $src;
- my $out = new FileHandle "> " . $dst_tmp;
+ my $out = new FileHandle "> $dst_tmp";
if (defined $in && defined $out) {
use File::stat;
@@ -190,7 +190,7 @@ Ken'ichi Fukamachi
=head1 COPYRIGHT
-Copyright (C) 2001,2002,2003,2004 Ken'ichi Fukamachi
+Copyright (C) 2001,2002,2003,2004,2005 Ken'ichi Fukamachi
All rights reserved. This program is free software; you can
redistribute it and/or modify it under the same terms as Perl itself.