Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    File::Slurp::Unicode 0.7.1

    Download button

    No screenshots available
    Downloads: 157  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    David Caldwell | More programs
    Perl Artistic License / FREE
    May 11th, 2011, 05:59 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    File::Slurp::Unicode description

    Reading/Writing of Complete Files with Character Encoding Support

    File::Slurp::Unicode is a Perl module that wraps File::Slurp and adds character encoding support through the encoding parameter. It exports the same functions which take all the same parameters as File::Slurp. Please see the File::Slurp documentation for basic usage; only the differences are described from here on out.

    SYNOPSIS

     use File::Slurp::Unicode;

     my $text = read_file('filename', encoding => 'utf8');
     my @lines = read_file('filename'); # utf8 is assumed if no encoding.

     write_file('filename', { encoding => 'utf16' }, @lines);

     # same as File::Slurp::write_file (ie. no encoding):
     write_file('filename', { encoding => 'binary' }, @lines);

     use File::Slurp::Unicode qw(slurp);

     my $text = slurp('filename', encoding => 'latin1');



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    File::Slurp wrapper | character encoding | Perl module | File::Slurp | Unicode | character

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM