diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-09 15:06:58 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-09 15:06:58 +0000 |
commit | c33b6d5b0d12caeb60c86057da8bda7d008e56c5 (patch) | |
tree | 8d11924782e43d79533d580e36ee8205dfc41620 | |
parent | ba527515efb09868fc2bb1017c1ced4860d46c03 (diff) | |
download | perl-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-- | 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|; $_ || '.' } |