WebSource::File : Fetchs it input from a file (or standard input if none is specified)
A File operator returns as item each line read from a file.
<ws:file name="opname" [ filename="file" ] forward-to="ops" />
The forward-to and name attributes have there usual signification.
forward-to
name
The filename attribut allows to set which file the items are read from.
filename
$file = WebSource::File->new(wsnode => $node); # for the rest it works as a WebSource::Module
Create a new File module;
Reads one line from the file and gives it as output;
WebSource::Module
To install WebSource, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebSource
CPAN shell
perl -MCPAN -e shell install WebSource
For more information on module installation, please visit the detailed CPAN module installation guide.