Use ppm
C:\Perl>ppm PPM - Programmer's Package Manager version 3.1. Copyright (c) 2001 ActiveState Corp. All Rights Reserved. ActiveState is a devision of Sophos. Entering interactive shell. Using Term::ReadLine::Stub as readline lib +rary. Type 'help' to get started. ppm> search Slurp Searching in Active Repositories 1. File-OldSlurp [2004.0430] Read and write files with a single c +ommand 2. File-OldSlurp [2004.0430] Read and write files with a single c +ommand 3. File-Slurp [9999.09] Efficient Reading/Writing of Complet +e Files 4. File-Slurp [2004.0904] Read and write files with a single c +ommand 5. File-Slurp [9999.01] Efficient Reading/Writing of Complet +e Files 6. File-Slurp [9999.02] Efficient Reading/Writing of Complet +e Files 7. File-Slurp [9999.04] Efficient Reading/Writing of Complet +e Files 8. File-Slurp [9999.06] Efficient Reading/Writing of Complet +e Files 9. File-Slurp [9999.07] Efficient Reading/Writing of Complet +e Files 10. File-Slurp [9999.08] Efficient Reading/Writing of Complet +e Files 11. File-Slurp [9999.09] Efficient Reading/Writing of Complet +e Files 12. File-Slurp-Tree [1.22] slurp and emit file trees as nested +hashes 13. File-Slurp-Tree [1.22] slurp and emit file trees as nested +hashes 14. Slurp [0.4] Slurp entire files into variables 15. Slurp [0.4] (none) 16. Tie-Slurp [0.01] tie a scalar to a named file 17. Tie-Slurp [0.01] tie a scalar to a named file ppm> install File-Slurp ==================== Install 'File-Slurp' version 9999.09 in ActivePerl 5.8.6.811. ==================== Downloaded 7673 bytes. Extracting 5/5: blib/arch/auto/File/Slurp/.exists Installing C:\Perl\html\site\lib\File\Slurp.html Installing C:\Perl\site\lib\File\Slurp.pm Successfully installed File-Slurp version 9999.09 in ActivePerl 5.8.6. +811. ppm>

In reply to Re: slurp::file by Transient
in thread slurp::file by drum1981

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.