IO::Lines



IO::Lines

NAME
SYNOPSIS
DESCRIPTION
VERSION
AUTHORS

NAME

IO::Lines − IO:: interface for reading/writing an array of lines

SYNOPSIS

    use IO::Lines;
    ### See IO::ScalarArray for details

DESCRIPTION

This class implements objects which behave just like FileHandle (or IO::Handle) objects, except that you may use them to write to (or read from) an array of lines. They can be tiehandle’d as well.

This is a subclass of IO::ScalarArray in which the underlying array has its data stored in a line-oriented-format: that is, every element ends in a "\n", with the possible exception of the final element. This makes "getline()" much more efficient; if you plan to do line-oriented reading/printing, you want this class.

The "print()" method will enforce this rule, so you can print arbitrary data to the line-array: it will break the data at newlines appropriately.

See IO::ScalarArray for full usage and warnings.

VERSION

$Id: Lines.pm,v 1.3 2005/02/10 21:21:53 dfs Exp $

AUTHORS

Primary Maintainer
David F. Skoll (dfs@roaringpenguin.com).

Principal author
Eryq (eryq@zeegee.com). President, ZeeGee Software Inc (http://www.zeegee.com).

Other contributors
Thanks to the following individuals for their invaluable contributions (if I’ve forgotten or misspelled your name, please email me!):

Morris M. Siegel, for his $/ patch and the new "getlines()".

Doug Wilson, for the IO::Handle inheritance and automatic tie-ing.



More Linux Commands

manpages/putwin.3ncurses.html
putwin(3ncurses) - miscellaneous curses utility routines....
The unctrl routine returns a character string which is a printable representation of the character c, ignoring attributes. Control characters are displayed in t

manpages/csinhl.3.html
csinhl(3) - complex hyperbolic sine - Linux manual page.....
The complex hyperbolic sine function is defined as: csinh(z) = (exp(z)-exp(-z))/2 VERSIONS These functions first appeared in glibc in version 2.1. CONFORMING TO

manpages/XpEndPage.3x.html
XpEndPage(3x) - Indicates the end of a print page. (ManPage)
XpEndPage signals the end of a print page, and causes window to be unmapped. All resulting page data is assembled and combined with data previously sent by XpPu

manpages/set_menu_grey.3menu.html
set_menu_grey(3menu) - color and attribute control for menus
The function set_menu_fore sets the foreground attribute of menu. This is the highlight used for selected menu items. menu_fore returns the foreground attribute

manpages/audit_delete_rule_data.3.html
audit_delete_rule_data(3) - Delete audit rule (Man Page)....
audit_delete_rule_data is used to delete rules that are currently loaded in the kernel. To delete a rule, you must set up the rules identical to the one being d

manpages/fabs.3.html
fabs(3) - absolute value of floating-point number (ManPage)
These functions return the absolute value of the floating-point number x. RETURN VALUE These functions return the absolute value of x. If x is a NaN, a NaN is r

manpages/wcstok.3.html
wcstok(3) - split wide-character string into tokens.........
The wcstok() function is the wide-character equivalent of the strtok(3) function, with an added argument to make it multithread-safe. It can be used to split a

manpages/perl5124delta.1.html
perl5124delta(1) what is new for perl v5.12.4 (Man Page)....
This document describes differences between the 5.12.3 release and the 5.12.4 release. If you are upgrading from an earlier release such as 5.12.2, first read p

manpages/gnutls_x509_crt_get_key_id.3.html
gnutls_x509_crt_get_key_id(3) - API function (Man Page).....
gnutls_x509_crt_get_key_id.3 - This function will return a unique ID the depends on the public key parameters. This ID can be used in checking whether a certifi

manpages/XSetModifierMapping.3.html
XSetModifierMapping(3) - manipulate keyboard encoding and ke
The XChangeKeyboardMapping function defines the symbols for the specified number of KeyCodes starting with first_keycode. The symbols for KeyCodes outside this

manpages/y1l.3.html
y1l(3) - Bessel functions of the second kind (Man Page).....
The y0() and y1() functions return Bessel functions of x of the second kind of orders 0 and 1, respectively. The yn() function returns the Bessel function of x

manpages/gnutls_rsa_params_export_pkcs1.3.html
gnutls_rsa_params_export_pkcs1(3) - API function (Man Page)
This function will export the given RSA parameters to a PKCS1 RSAPublicKey structure. If the buffer provided is not long enough to hold the output, then GNUTLS_





We can't live, work or learn in freedom unless the software we use is free.