WebSource::Envelope - Container for exchanged data
A WebSource::Enveloppe is used to encapsulate the data going from one module to another. This alows to attach meta-information such as a document's base uri For the moment these types are known :
data is an XML::LibXML Node
data is a string
data is a URI object
data is an HTTP::Request object
use WebSource::Envelope; ... my $env = WebSource::Envelope->new( type => $type, data => $data ... ); ...
WebSource
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.