From: Uri Guttman Date: Tue, 3 May 2011 08:04:23 +0000 (-0400) Subject: added export_ok for edit_file and edit_file_lines X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8a1e3264d118e5f0edb9f4b9755cd6adbcce5760;p=urisagit%2FFile-Slurp.git added export_ok for edit_file and edit_file_lines export :all now exports export_ok as well --- diff --git a/lib/File/Slurp.pm b/lib/File/Slurp.pm index 9b14a7d..41600ff 100755 --- a/lib/File/Slurp.pm +++ b/lib/File/Slurp.pm @@ -15,9 +15,21 @@ use vars qw( @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $VERSION ) ; $VERSION = '9999.17'; -@EXPORT_OK = qw( slurp prepend_file ) ; -%EXPORT_TAGS = ( 'all' => [ - qw( read_file write_file overwrite_file append_file read_dir ) ] ) ; +@EXPORT_OK = qw( + slurp + prepend_file + edit_file + edit_file_lines +) ; + +%EXPORT_TAGS = ( 'all' => [ qw( + read_file + write_file + overwrite_file + append_file + read_dir ), + @EXPORT_OK +] ) ; @EXPORT = ( @{ $EXPORT_TAGS{'all'} } ); my $max_fast_slurp_size = 1024 * 100 ;