summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-09 15:06:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-09 15:06:58 +0000
commitc33b6d5b0d12caeb60c86057da8bda7d008e56c5 (patch)
tree8d11924782e43d79533d580e36ee8205dfc41620
parentba527515efb09868fc2bb1017c1ced4860d46c03 (diff)
downloadperl-MDK-Common-c33b6d5b0d12caeb60c86057da8bda7d008e56c5.tar
perl-MDK-Common-c33b6d5b0d12caeb60c86057da8bda7d008e56c5.tar.gz
perl-MDK-Common-c33b6d5b0d12caeb60c86057da8bda7d008e56c5.tar.bz2
perl-MDK-Common-c33b6d5b0d12caeb60c86057da8bda7d008e56c5.tar.xz
perl-MDK-Common-c33b6d5b0d12caeb60c86057da8bda7d008e56c5.zip
- export cat_utf8() and cat_utf8_or_die()
-rw-r--r--NEWS2
-rw-r--r--lib/MDK/Common/File.pm2
2 files changed, 3 insertions, 1 deletions
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<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|; $_ || '.' }