Nes::Obj::lwp - LWP in an Nes Object
{: include ('{: * cfg_obj_top_dir :}/lwp.nhtml', URL, extrac, method, query, charset, useragent, email ) :}
Part of LWP ( http://search.cpan.org/perldoc?LWP ) encapsulated in an Nes Object.
URL to get.
Piece of the page you want to extract, default is content:
All content.
HTTP status.
Content Type.
Page title.
Page head tag.
Page body tag.
user-defined delimiter.
Return tag content without tags: <tag></tag>
<tag>:-:</tag>
Return tag and include tags: <tag></tag>
:-:<tag>:-:</tag>:-:
GET or POST, default is GET.
Query for GET or POST, sample:
name=Jose&email=jose@sample.com
ISO or UTF-8, default no change.
User Agent, default: Nes/1.0
User agent email, default: $ENV{'SERVER_ADMIN'}
{: $ status :} # Status response {: $ request :} # request send {: $ Content-Type :} # Content type {: $ content :} # All HTML content {: $ title :} # Title Tag content {: $ head :} # Head Tag content {: $ body :} # Body Tag content {: $ extrac :} # extrac return value
Skriptke: Enrique Castañón
Version 1.03 April 2010
Copyright (c) Enrique F. Castanon Barbero. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms and conditions as GNU Public License (GPL).
This means that you can, at your option, redistribute it and/or modify it under either the terms the GNU Public License (GPL), or under the Perl Artistic License.
See http://dev.perl.org/licenses/
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Use of this software in any way or in any form, source or binary, is not allowed in any country which prohibits disclaimers of any implied warranties of merchantability or fitness for a particular purpose or any disclaimers of a similar nature.
IN NO EVENT SHALL I BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION (INCLUDING, BUT NOT LIMITED TO, LOST PROFITS) EVEN IF I HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
Nes, Nes::Tutorial, Nes::Singleton, Nes::nes.cfg, Sample to use Nes; http://nes.sourceforge.net/
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Castañón'. Assuming UTF-8
To install Nes, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Nes
CPAN shell
perl -MCPAN -e shell install Nes
For more information on module installation, please visit the detailed CPAN module installation guide.