blx::xsdsql::IStream - generic iterator for string,array,file descriptor or subroutine
use blx::xsdsql::IStream
this package is a class - instance it with the method new
this module defined the followed functions
new - constructor
PARAMS: INPUT_STREAMER - an array,string,soubroutine or a file descriptor (default not set)
set_input_descriptor - the first param is a value same as INPUT_STREAMER
the method return the self object
get_chars - the first param is the number of chars to read (default 1)
on EOF the method return a null string if the first param is <= 0 the method return null string on error throw an exception get_line - return a line in scalar mode or an array in array mode on EOF the method return a null string on error throw an exception Note: if INPUT_STREAM is an array the line is an element of the array the line has the new line terminator "\n" also the result of <> iterator
None by default.
<> - same as get_line
:overload - export only the overload methods
:all export all
Mention other useful documentation such as the documentation of related modules or operating system documentation (such as man pages in UNIX), or any relevant external documentation such as RFCs or standards.
lorenzo.bellotti, <bellzerozerouno@tiscali.it>
Copyright (C) 2010 by lorenzo.bellotti
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install blx::xsdsql::ut, copy and paste the appropriate command in to your terminal.
cpanm
cpanm blx::xsdsql::ut
CPAN shell
perl -MCPAN -e shell install blx::xsdsql::ut
For more information on module installation, please visit the detailed CPAN module installation guide.