|
|
File::Slurp .16 is on cpan
i have released File::Slurp .16 to cpan. the major change is adding the
prepend_file() sub which inserts data at the beginning of a file. that
is a fairly common FAQ and there is no simple fast and clean way to do
it so this covers that problem.
uri
--
Uri Guttman ------ uri@stemsystems.com -------- http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------
|
|
0
|
|
|
|
Reply
|
Uri
|
4/25/2011 7:49:54 AM |
|
On 25 avr, 09:49, "Uri Guttman" <u...@StemSystems.com> wrote:
> i have released File::Slurp .16 to cpan. the major change is adding the
> prepend_file() sub which inserts data at the beginning of a file. that
> is a fairly common FAQ and there is no simple fast and clean way to do
> it so this covers that problem.
Thanks for releasing a new version of File::Slurp. I have installed it
on my Windows ActiveState Perl x64
C:\PerlModules\File-Slurp\File-Slurp-9999.16>perl -v
This is perl 5, version 12, subversion 0 (v5.12.0) built for MSWin32-
x64-multi-thread
(with 1 registered patch, see perl -V for more detail)
All tests passed (some skipped on my Windows machine). I will use
File::Slurp ver 9999.16 in my applications.
C:\PerlModules\File-Slurp\File-Slurp-9999.16>nmake test
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
C:\Perl64\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/append_null.t ....... ok
t/binmode.t ........... ok
t/data_list.t ......... ok
t/data_scalar.t ....... ok
t/error.t ............. ok
t/error_mode.t ........ ok
t/file_object.t ....... ok
t/handle.t ............ ok
t/inode.t ............. skipped: skip inode test on windows
t/large.t ............. ok
t/newline.t ........... ok
t/no_clobber.t ........ ok
t/original.t .......... ok
t/paragraph.t ......... ok
t/perms.t ............. skipped: meaningless on Win32
t/pod.t ............... skipped: Test::Pod 1.14 required for testing
PODe
t/pod_coverage.t ...... skipped: Test::Pod::Coverage 1.04 required for
testing POD coverage
t/pseudo.t ............ ok
t/read_dir.t .......... ok
t/slurp.t ............. ok
t/stdin.t ............. ok
t/stringify.t ......... ok
t/tainted.t ........... ok
t/write_file_win32.t .. ok
All tests successful.
Files=24, Tests=277, 4 wallclock secs ( 0.14 usr + 0.08 sys = 0.22
CPU)
Result: PASS
|
|
0
|
|
|
|
Reply
|
Klaus
|
4/25/2011 12:05:29 PM
|
|
On 4/25/2011 5:05 AM, Klaus wrote:
> On 25 avr, 09:49, "Uri Guttman"<u...@StemSystems.com> wrote:
>> i have released File::Slurp .16 to cpan. the major change is adding the
>> prepend_file() sub which inserts data at the beginning of a file. that
>> is a fairly common FAQ and there is no simple fast and clean way to do
>> it so this covers that problem.
>
> Thanks for releasing a new version of File::Slurp. I have installed it
> on my Windows ActiveState Perl x64
>
> C:\PerlModules\File-Slurp\File-Slurp-9999.16>perl -v
> This is perl 5, version 12, subversion 0 (v5.12.0) built for MSWin32-
> x64-multi-thread
> (with 1 registered patch, see perl -V for more detail)
>
> All tests passed (some skipped on my Windows machine). I will use
> File::Slurp ver 9999.16 in my applications.
>
> C:\PerlModules\File-Slurp\File-Slurp-9999.16>nmake test
>
> Microsoft (R) Program Maintenance Utility Version 1.50
> Copyright (c) Microsoft Corp 1988-94. All rights reserved.
>
> C:\Perl64\bin\perl.exe "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
> t/append_null.t ....... ok
> t/binmode.t ........... ok
> t/data_list.t ......... ok
> t/data_scalar.t ....... ok
> t/error.t ............. ok
> t/error_mode.t ........ ok
> t/file_object.t ....... ok
> t/handle.t ............ ok
> t/inode.t ............. skipped: skip inode test on windows
> t/large.t ............. ok
> t/newline.t ........... ok
> t/no_clobber.t ........ ok
> t/original.t .......... ok
> t/paragraph.t ......... ok
> t/perms.t ............. skipped: meaningless on Win32
> t/pod.t ............... skipped: Test::Pod 1.14 required for testing
> PODe
> t/pod_coverage.t ...... skipped: Test::Pod::Coverage 1.04 required for
> testing POD coverage
> t/pseudo.t ............ ok
> t/read_dir.t .......... ok
> t/slurp.t ............. ok
> t/stdin.t ............. ok
> t/stringify.t ......... ok
> t/tainted.t ........... ok
> t/write_file_win32.t .. ok
> All tests successful.
> Files=24, Tests=277, 4 wallclock secs ( 0.14 usr + 0.08 sys = 0.22
> CPU)
> Result: PASS
OMG Klaus, alles toll!
--
|
|
0
|
|
|
|
Reply
|
Uno
|
4/26/2011 6:55:54 AM
|
|
|
2 Replies
641 Views
(page loaded in 0.062 seconds)
Similiar Articles: getting cpan configured - comp.unix.shell... 37/README NNTPClient-0.37/MANIFEST CPAN: File ... closed at test.pl line 57 not ok 16 ... fetched from one or more mirrored CPAN (Comprehensive Perl Archive Network ... Any zip tools to create zip64 files? - comp.compression... three can handle zip64 files but can't create zip64 file ... Reply: cr88192: 9/16/2007 11:56:09 PM ... die "Cannot zip: $ZipError\n"; See http://search.cpan ... Compiling and Installing Perl - comp.lang.perl.miscI have CPAN source, Microsoft Visual C++ compiler, and ... Reply: Sisyphus: 5/16/2006 6:46:58 AM ... There is no > 'reademe.win32', and the 'compile.bat' file ... Parsing file names with spaces - comp.lang.perl.misc... lexical file handles. and to add one more, that can be all done with: use File::Slurp ... 7/1/2010 3:31:16 AM A "does global variable exist" function - comp.lang.javascript ...On Jul 29, 4:16=A0am, Andrea Giammarchi <andrea.giammar ... CPAN is the Dynamic Drive of the PERL world. As for ... GUIDE how to create a Global variable in GUDIE .m file ... How to DELETE the root password? - comp.databases.mysqlhttp://search.cpan.org/~capttofu/DBD-mysql-4.005/lib/DBD ... mount the root partittion on say a Edit the passwd file ... 7/22/2012 1:27:16 PM how to transpose large matrix? - comp.unix.shell... c f It might be slow, but it will avoid temp files and the need to slurp the whole file ... 6/24/2010 7:38:16 PM Bareword errors? - comp.lang.perl.misc... 11/28/2006 9:18:16 PM ... not supposed to > handle e.g. multivalue fields or file ... What makes Perl so great is CPAN and all the available ... Validate form for 4-digit integer - comp.lang.javascript ...david_w_burhans: 9/16/2003 5:31:58 PM ... JRS: In article <3f687b24$1_2@newsfeed.slurp.net>, seen ... list - comp.soft-sys.math ..... delimited text file, I ... code speed moving from fortran 77 compiler to f2003 compiler ...... read thermochemical properties from an unformatted file. ... it is enough to read all the dat into memory in one slurp ... On Jun 16, 11:39=A0am, Lynn McGuire <l...@winsim.com ... File::Slurp - search.cpan.orgCPAN RT ... perl -0777 -pi -e 's/foo/bar/g' filename use File::Slurp qw( edit_file ... Uri Guttman / File-Slurp - search.cpan.orgCPAN Testers: PASS (2439) FAIL (10) NA (1) UNKNOWN (13) [ View Reports ... File::Slurp: Simple and Efficient Reading/Writing/Modifying of Complete Files 7/27/2012 6:50:05 AM
|
|
|
|
|
|
|
|
|