From c33b6d5b0d12caeb60c86057da8bda7d008e56c5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 9 Sep 2008 15:06:58 +0000 Subject: - export cat_utf8() and cat_utf8_or_die() --- NEWS | 2 ++ lib/MDK/Common/File.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 443ccc2..9f6b99e 100644 --- a/NEWS +++ b/NEWS @@ -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 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|; $_ || '.' } -- cgit v1.2.1