Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.884.232 Times

Class::HPLOO 0.23

  Date Added: March 17, 2010  |  Visits: 422

Class::HPLOO

Report Broken Link
Printer Friendly Version


Product Homepage
Download (70 downloads)



Class::HPLOO is an easier way to declare classes on Perl, based in the popular class {...} style and ePod. USAGE use Class::HPLOO ; class Foo extends Bar , Baz { use LWP::Simple qw(get) ; ## import the method get() to this package. attr ( array foo_list , int age , string name , foo ) ## define attributes. vars ($GLOBAL_VAR) ; ## same as: use vars qw($GLOBAL_VAR); my ($local_var) ; ## constructor/initializer: sub Foo { $this->{attr} = $_[0] ; } ## methods with input variables declared: sub get_pages ($base , @pages , %options) { my @htmls ; if ( $options{proxy} ) { ... } foreach my $pages_i ( @pages ) { my $url = "$base/$pages_i" ; my $html = get($url) ; push(@htmls , $html) ; $this->cache($url , $html) ; } return @htmls ; } ## methos like a normal Perl sub: sub cache { my ( $url , $html ) = @_ ; $this->{CACHE}{$url} = $html ; } sub attributes_example { $this->set_foo_list(qw(a b c d e f)) ; my @l = $this->get_foo_list ; $this->set_age(30) ; $this->set_name("Joe") ; $this->set_foo( time() ) ; print "NAME: ". $this->get_name ."n" ; print "AGE: ". $this->get_age ."n" ; print "FOO: ". $this->get_foo ."n" ; } } ## Example of use of the class: package main ; my $foo = new Foo(123) ; $foo->get_pages(http://www.perlmonks.com/, [/index.pl,/foo] , {proxy => localhost:8080}) ;.

Requirements: No special requirements
Platforms: Linux
Keyword: Class Classhploo Foo Hploo Html Libraries Pages Perl Programming Url
Users rating: 0/10

License: Freeware Size: 27.65 KB
USER REVIEWS
More Reviews or Write Review


CLASS::HPLOO RELATED
Libraries  -  HTML Objects 1.2.4
HTML Objects is a Perl module library for turning HTML tags into Perl objects. HTML Objects allows Web pages to be manipulated as a data structure rather than text. Once manipulation is done, the entire page is generated via depth-first...
25.6 KB  
Libraries  -  iCal::Parser::HTML 1.06
iCal::Parser::HTML is a Perl module to generate HTML calendars from iCalendars. SYNOPSIS use iCal::Parser::HTML; my $parser=iCal::Parser::HTML->new; print $parser->parse(type=>$type,start=>$date,files=>[@icals]); This module uses...
50.18 KB  
Image Galleries  -  Thumbie 0.5
Thumbie is a Perl script that generates HTML thumbnail pages from a directory containing GIF or JPEG images. It makes a main index page and individual pages for each picture. Thumbie requires Perl and the Perlmodule Image-Size (included in this...
 
Network & Internet  -  mod_perl 2.0.3
mod_perl project brings together the full power of the Perl programming language and the Apache HTTP server. You can use Perl to manage Apache, respond to requests for web pages and much more. mod_perl gives you a persistent Perl interpreter...
3.5 MB  
Libraries  -  Tree::Simple::View::HTML 0.16
Tree::Simple::View::HTML is a Perl class for viewing Tree::Simple hierarchies in HTML. SYNOPSIS use Tree::Simple::View::HTML; ## a simple example # use the defaults (an unordered list with no CSS) my $tree_view =...
22.53 KB  
Libraries  -  HTML::LoL 1.3
HTML::LoL is a Perl module that can construct HTML from pleasing Perl data structures. SYNOPSIS use HTML::LoL; &hl(sub { print shift }, [body => {bgcolor => white}, [p => Document body, ...], ...]); This module allows you to use Perl...
5.12 KB  
Libraries  -  Blatte::HTML 0.9
Blatte::HTML is a Perl module that contains tools for generating HTML with Blatte. SYNOPSIS use Blatte; use Blatte::Builtins; use Blatte::HTML; $perl = &Blatte::Parse(...string of Blatte code...); $val = eval $perl;...
14.34 KB  
Libraries  -  Debian::Package::HTML 0.1
Debian::Package::HTML is a Perl module that generates a webpage information (and Linda/Lintian checks) about a Debian binary or source package using HTML::Template SYNOPSIS use strict; use Debian::Package::HTML; my $package =...
5.12 KB  
Libraries  -  HTML::EP
HTML::EP is a system for embedding Perl into HTML. SYNOPSIS CGI-Env This is an HTML document. You see. Perhaps you wonder about the unknown HTML tags like ep-comment above? They are...
43.01 KB  
Libraries  -  Syntax::Highlight::HTML 0.04
Syntax::Highlight::HTML is a Perl module to highlight a HTML syntax. SYNOPSIS use Syntax::Highlight::HTML; my $highlighter = new Syntax::Highlight::HTML; $output = $highlighter->parse($html); If $html contains the following HTML fragment:...
16.38 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB