diff options
| author | fukachan <fukachan> | 2005-05-26 09:55:36 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2005-05-26 09:55:36 +0000 |
| commit | 1175e1d37092e96b0f6eb0d260f0a3a43fc8151d (patch) | |
| tree | e4f3ffe2d5eb6b2fe5748a079cb5f44170fa5423 /fml/lib | |
| parent | 70e6d93883f77bedc82dbef888e850dbcd122d4e (diff) | |
| download | fml8-1175e1d37092e96b0f6eb0d260f0a3a43fc8151d.tar.gz fml8-1175e1d37092e96b0f6eb0d260f0a3a43fc8151d.tar.bz2 fml8-1175e1d37092e96b0f6eb0d260f0a3a43fc8151d.zip | |
not use str.str
Diffstat (limited to 'fml/lib')
| -rw-r--r-- | fml/lib/FML/Command/DirUtils.pm | 8 | ||||
| -rw-r--r-- | fml/lib/FML/Config/Convert.pm | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/fml/lib/FML/Command/DirUtils.pm b/fml/lib/FML/Command/DirUtils.pm index 13d5ab5b..96adbbb2 100644 --- a/fml/lib/FML/Command/DirUtils.pm +++ b/fml/lib/FML/Command/DirUtils.pm @@ -1,10 +1,10 @@ #-*- perl -*- # -# Copyright (C) 2002,2003,2004 Ken'ichi Fukamachi +# Copyright (C) 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: DirUtils.pm,v 1.19 2004/07/23 04:16:24 fukachan Exp $ +# $FML: DirUtils.pm,v 1.20 2004/07/23 15:59:03 fukachan Exp $ # package FML::Command::DirUtils; @@ -93,7 +93,7 @@ sub dir my $y = ''; for my $x (@$argv) { if ($safe->regexp_match('directory', $x) || $x =~ /^\s*$/) { - $y .= " ". $x; + $y .= " $x"; } } @@ -129,7 +129,7 @@ Ken'ichi Fukamachi =head1 COPYRIGHT -Copyright (C) 2002,2003,2004 Ken'ichi Fukamachi +Copyright (C) 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. 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. |
