Class::HPLOO 0.23

Class::HPLOO 0.23

Sponsored Links

Class::HPLOO 0.23 Ranking & Summary

Ranking Click at the star to rankRanking level:
User Review: 0 (0 times) Download now
File size: 0.027 MB Platform: Any Platform License: Perl Artistic License Price: Downloads: 5785 Date added: 2007-06-09 Publisher: Graciliano M. P. Publisher URL: http://search.cpan.org/~g

Class::HPLOO 0.23 description

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}) ;

Download now

Class::HPLOO 0.23 Screenshot

Sponsored Links
Download Class::HPLOO 0.23

Class::HPLOO 0.23 Keywords

Bookmark Class::HPLOO 0.23

Hyperlink code:
Hyperlink and Intro code:

Class::HPLOO 0.23 Copyright

WareSeeker periodically updates pricing and software information of Class::HPLOO 0.23 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Class::HPLOO 0.23 Edition. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Class::HPLOO 0.23 Related Software


Class::Bits is a Perl module with class wrappers around bit vectors.

Rose::Class::MakeMethods::Set is a Perl module to create class methods to manage sets.

Class::StrongSingleton is a stronger and more secure Singleton base class.

Class::DBI::AutoIncrement is a Perl module to emulate auto-incrementing columns on Class::DBI subclasses.

Class::DBI::Query is a Perl module with deprecated SQL manager for Class::DBI.

Class::ArrayObjects is a Perl utility class for array based objects.

Class::Meta is a Perl class automation, introspection, and data validation.

Class::ObjectTemplate is a Perl extension for an optimized template builder base class.

Class::DBI::ConceptSearch is a Perl module to retrieve Class::DBI aggregates from high-level conceptual searches.

TagCloud Maker Class is a class that takes a single dimensional array of terms and outputs a piece of HTML with each term.
Class::HPLOO 0.23 Review:
Author name* :  
Author Email* :  
Comment* :  
Security code* :  
     
   
My Software
You have not saved any software. Click "Save" next to each software to save it to your software basket
Related Information
Sponsored Links
TOP POPULAR DOWNLOAD