diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-09-19 15:57:42 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-09-19 15:57:42 +0000 |
commit | cc10af8042789097c52948fa329be7c432a4befd (patch) | |
tree | 36c4d0eb7e4f89f359ff5ea5f86248ee5c144e2a /MDK/Common | |
parent | a4ebe5a0284255cc7a0946f1e895af94e37b7c86 (diff) | |
download | perl-MDK-Common-cc10af8042789097c52948fa329be7c432a4befd.tar perl-MDK-Common-cc10af8042789097c52948fa329be7c432a4befd.tar.gz perl-MDK-Common-cc10af8042789097c52948fa329be7c432a4befd.tar.bz2 perl-MDK-Common-cc10af8042789097c52948fa329be7c432a4befd.tar.xz perl-MDK-Common-cc10af8042789097c52948fa329be7c432a4befd.zip |
export cat_or_die()MDK-92
Diffstat (limited to 'MDK/Common')
-rw-r--r-- | MDK/Common/File.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MDK/Common/File.pm b/MDK/Common/File.pm index cc5f3b6..49895a0 100644 --- a/MDK/Common/File.pm +++ b/MDK/Common/File.pm @@ -113,7 +113,7 @@ L<MDK::Common> use vars qw(@ISA %EXPORT_TAGS @EXPORT_OK); @ISA = qw(Exporter); -@EXPORT_OK = qw(dirname basename cat_ cat__ output output_p output_with_perm append_to_file linkf symlinkf renamef mkdir_p rm_rf cp_af touch all glob_ substInFile expand_symlinks openFileMaybeCompressed catMaybeCompressed); +@EXPORT_OK = qw(dirname basename cat_ cat_or_die cat__ output output_p output_with_perm append_to_file linkf symlinkf renamef mkdir_p rm_rf cp_af touch all glob_ substInFile expand_symlinks openFileMaybeCompressed catMaybeCompressed); %EXPORT_TAGS = (all => [ @EXPORT_OK ]); sub dirname { local $_ = shift; s|[^/]*/*\s*$||; s|(.)/*$|$1|; $_ || '.' } |