Filewatcher File Search File Search
Content Search
» » » » »


Emulate IO::File interface for in-core strings

The IO::String module provide the IO::File interface for in-core strings. An IO::String object can be attached to a string, and will make it possible to use the normal file operations for reading or writing data, as well as seeking to various locations of the string. The main reason you might want to do this, is if you have some other library module that only provide an interface to file handles, and you want to keep all the stuff in memory.

The IO::String module provide an interface compatible with IO::File as distributed with IO-1.20, but the following methods are not available; new_from_fd, fdopen, format_write, format_page_number, format_lines_per_page, format_lines_left, format_name, format_top_name.

Package version:1.08-2


IO::String is an IO::File (and IO::Handle) compatible class that read
or write data from in-core strings.  It is really just a
simplification of what I needed from Eryq's IO-stringy modules.  As
such IO::String is a replacement for IO::Scalar.

Installation as usual:

   perl Makefile.PL
   make test
   make install

Documentation is embedded in the module.

Copyright 1998-2005 Gisle Aas.


String(3pm)      User Contributed Perl Documentation     String(3pm)

       IO::String - Emulate file interface for in-core strings

        use IO::String;
        $io = IO::String->new;
        $io = IO::String->new($var);
        tie *IO, 'IO::String';

        # read data
        read($io, $buf, 100);

        # write data
        print $io


libio-string-perl (1.08-2) unstable; urgency=low

  * adopted for Debian PErl Group
  * debian/control: debhelper increased to (>= 5)
  * debian/compat: increased to 5

 -- Krzysztof Krzyzaniak (eloy) <>  Fri, 17 Nov 2006 15:15:19 +0100

libio-string-perl (1.08-1) unstable; urgency=low

  * Hijack package
  * New upstream release
  * debian/control:
      - Switched Section to perl



2005-12-05   Gisle Aas <>

   Release 1.08

   The untie code in close() just s


This package was originally debianized by Matt Hope
<> on Wed,  7 Nov 2001 16:

Browse inside libio-string-perl_1.08-2_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libio-string-perl_1.08-2_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017