File: README

package info (click to toggle)
libfile-slurp-perl 9999.19-4
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 340 kB
  • ctags: 40
  • sloc: perl: 1,671; makefile: 39
file content (37 lines) | stat: -rw-r--r-- 1,264 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
File::Slurp.pm
===========================

This module provides subroutines to read or write entire files with a
simple call.  It also has a subroutine for reading the list of filenames
in a directory.

In the extras/ directory you can read an article (slurp_article.pod)
about file slurping and also run a benchmark (slurp_bench.pl) that
compares many ways of slurping/spewing files. This benchmark was
rewritten for .14 and is much better.

This module was first written and owned by David Muir Sharnoff (MUIR on
CPAN).  I checked out his module and decided to write a new version
which would be faster and with many more features.  To that end, David
graciously transfered the namespace to me.

There have been some comments about the somewhat unusual version number.
The problem was that David used a future date (2004.0904) in his version
number, and the only way I could get CPAN to index my new module was to
make it have a version number higher than the old one, so I chose the
9999 prefix and appended the real revision number to it.

INSTALLATION

To install this module type the following:

   perl Makefile.PL
   make
   make test
   make install

COPYRIGHT AND LICENCE

Copyright (C) 2010 Uri Guttman <uri@PerlHunter.com>

Licensed the same as Perl.