logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

File::Path::Expand - expand filenames

Author

       Richard Clamp <richardc@unixbeard.net>

Description

       File::Path::Expand expands user directories in filenames.  For the simple case it's no more complex than
       s{^~/}{$HOME/}, but for other cases it consults "getpwent" and does the right thing.

Name

       File::Path::Expand - expand filenames

Synopsis

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

See Also