File-Path-Expand-1.01 > File::Path::Expand

名前

File::Path::Expand - ファイル名を展開する

概要

 use File::Path::Expand;
 print expand_filename("~richardc/foo"); # "/home/richardc/foo"を出力

説明

File::Path::Expandはファイル名でユーザ・ディレクトリを展開します。 簡単な場合では、s{^~/}{$HOME/}という以上のものであありません。 しかし他の場合では、getpwentを調べ、正しいことを行います。

作者(=AUTHOR)

Richard Clamp <richardc@unixbeard.net>

著作権(=COPYRIGHT)

Copyright (c) 2003, Richard Clamp. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.

翻訳

川合孝典(GCD00051@nifty.ne.jp)