Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > File::Slurp .16 is on cpan

Reply
Thread Tools

File::Slurp .16 is on cpan

 
 
Uri Guttman
Guest
Posts: n/a
 
      04-25-2011

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 ------ http://www.velocityreviews.com/forums/(E-Mail Removed) -------- http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------
 
Reply With Quote
 
 
 
 
Klaus
Guest
Posts: n/a
 
      04-25-2011
On 25 avr, 09:49, "Uri Guttman" <(E-Mail Removed)> 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:od 1.14 required for testing
PODe
t/pod_coverage.t ...... skipped: Test:od::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
 
Reply With Quote
 
 
 
 
Uno
Guest
Posts: n/a
 
      04-26-2011
On 4/25/2011 5:05 AM, Klaus wrote:
> On 25 avr, 09:49, "Uri Guttman"<(E-Mail Removed)> 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:od 1.14 required for testing
> PODe
> t/pod_coverage.t ...... skipped: Test:od::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!
--

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ 2.6 What modules and extensions are available for Perl? What is CPAN? What does CPAN/src/... mean? PerlFAQ Server Perl Misc 0 01-24-2011 11:00 PM
on windows 7 / cygwin / perl / cpan - cannot make cpan work SVCitian Perl Misc 1 10-22-2010 03:59 PM
rt.cpan.org, search.cpan.org: why so unuseable? Ben Bullock Perl Misc 12 07-08-2008 12:51 PM
Is there a better way to search CPAN than search.cpan.org? usenet@DavidFilmer.com Perl Misc 5 10-12-2005 04:50 AM
Upgrading to CPAN.pm v1.76 install Bundle::CPAN fails carl d. Perl Misc 1 05-10-2005 09:35 PM



Advertisments