diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | lib/MDK/Common/File.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- export cat_utf8() and cat_utf8_or_die() + Version 1.2.12 - 3 April 2008, by Olivier "blino" Blin - fix crash introduced in previous release diff --git a/lib/MDK/Common/File.pm b/lib/MDK/Common/File.pm index effea87..5227391 100644 --- a/lib/MDK/Common/File.pm +++ b/lib/MDK/Common/File.pm @@ -138,7 +138,7 @@ L<MDK::Common> use Exporter; our @ISA = qw(Exporter); -our @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_f cp_af touch all all_files_rec glob_ substInFile expand_symlinks openFileMaybeCompressed catMaybeCompressed); +our @EXPORT_OK = qw(dirname basename cat_ cat_utf8 cat_or_die cat_utf8_or_die cat__ output output_p output_with_perm append_to_file linkf symlinkf renamef mkdir_p rm_rf cp_f cp_af touch all all_files_rec glob_ substInFile expand_symlinks openFileMaybeCompressed catMaybeCompressed); our %EXPORT_TAGS = (all => [ @EXPORT_OK ]); sub dirname { local $_ = shift; s|[^/]*/*\s*$||; s|(.)/*$|$1|; $_ || '.' } |