summaryrefslogtreecommitdiffstats
path: root/MDK
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-17 13:09:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-17 13:09:11 +0000
commit0557e702a03474955bf16acbb6fff6f5353f8b74 (patch)
treef4dd2f65ab26e2d424fe58a47f31794e246ae872 /MDK
parent1a5b978da98890aab1ff1d6200ca290e1bab0dc8 (diff)
downloadperl-MDK-Common-0557e702a03474955bf16acbb6fff6f5353f8b74.tar
perl-MDK-Common-0557e702a03474955bf16acbb6fff6f5353f8b74.tar.gz
perl-MDK-Common-0557e702a03474955bf16acbb6fff6f5353f8b74.tar.bz2
perl-MDK-Common-0557e702a03474955bf16acbb6fff6f5353f8b74.tar.xz
perl-MDK-Common-0557e702a03474955bf16acbb6fff6f5353f8b74.zip
do not export concat_symlink anymore, it's internal only
Diffstat (limited to 'MDK')
-rw-r--r--MDK/Common/File.pm7
1 files changed, 1 insertions, 6 deletions
diff --git a/MDK/Common/File.pm b/MDK/Common/File.pm
index a548237..3cc7e6d 100644
--- a/MDK/Common/File.pm
+++ b/MDK/Common/File.pm
@@ -58,11 +58,6 @@ simple version of C<glob>: doesn't handle wildcards in directory (eg:
executes the code for each line of the file. You can know the end of the file
is reached using C<eof>
-=item concat_symlink(DIRNAME, RELATIVE LINK)
-
-concat dirname and the symlink and removes "../" if possible:
-C<concat_symlink("/usr/bin", "../../bin/ls")> gives "/bin/ls"
-
=item expand_symlinks(FILENAME)
expand the symlinks in the absolute filename:
@@ -89,7 +84,7 @@ package MDK::Common::File;
use vars qw(@ISA %EXPORT_TAGS @EXPORT_OK);
@ISA = qw(Exporter);
-@EXPORT_OK = qw(dirname basename cat_ cat__ output linkf symlinkf renamef touch all glob_ substInFile concat_symlink expand_symlinks openFileMaybeCompressed catMaybeCompressed);
+@EXPORT_OK = qw(dirname basename cat_ cat__ output linkf symlinkf renamef touch all glob_ substInFile expand_symlinks openFileMaybeCompressed catMaybeCompressed);
%EXPORT_TAGS = (all => [ @EXPORT_OK ]);
sub dirname { local $_ = shift; s|[^/]*/*\s*$||; s|(.)/*$|$1|; $_ || '.' }