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 30.076.168 Times

Perl6::Classes 0.22

  Date Added: June 04, 2010  |  Visits: 597

Perl6::Classes

Report Broken Link
Printer Friendly Version


Product Homepage
Download (74 downloads)

Perl6::Classes project contains first class classes in Perl 5. SYNOPSIS use Perl6::Classes; class Composer { submethod BUILD { print "Giving birth to a new composern" } method compose { print "Writing some music...n" } } class ClassicalComposer is Composer { method compose { print "Writing some muzak...n" } } class ModernComposer is Composer { submethod BUILD($) { $.length = shift } method compose() { print((map { int rand 10 } 1..$.length), "n") } has $.length; } my $beethoven = new ClassicalComposer; my $barber = new ModernComposer 4; my $mahler = ModernComposer->new(400); $beethoven->compose; # Writing some muzak... $barber->compose # 7214 compose $mahler; # 89275869347968374698756.... Perl6::Classes allows the creation of (somewhat) Perl 6-style classes in Perl 5. The following features are currently supported: subs, methods, and submethods And their respective scoping rules. Attributes Which are available through the has keyword, and look like $.this. Inheritance Both single and multiple inheritance are available through the is keyword. Signatures Signatures on methods, subs, and submethods are supported, but just the Perl 5 kind. Data hiding Using the public, protected, and private traits, you can enforce (run-time) data hiding. This is not supported on attributes, which are always private. Anonymous classes That respect closures. You can now nest them inside methods of other classes, even other anonymous ones! The Perl6::Classes module augments Perls syntax with a new declarator: class. It offers the advantage over Perls standard OO mechanism that it is conceptually easier to see (especially for those from a C++/Java background). It offers the disadvantage, of course, of being less versatile..

Requirements: No special requirements
Platforms: Linux
Keyword: Class Classes Compose First Class Libraries Moderncomposer New Perl Print Programming
Users rating: 0/10

License: Freeware Size: 7.17 KB
PERL6::CLASSES RELATED
Modules  -  USPS First Class Shipping 1.0
Very simple mod that will let you offer First Class shipping to your customers.
 
Libraries  -  PHP Advanced Graphing Class 1.4
PHP Advanced Graphing Class is a PHP class that can be used to generate line, bar, and 2D/3D pie graphs from multiple data sets. PHP Advanced Graphing Class offers many style and data formatting options. The graphs can be built from data defined...
 
Network & Internet  -  Calendario Class 1.0
Calendario Class provides a PHP class that is useful for creating calendars and organizers. Calendario Class is a PHP class that helps you to create calendar and organizers. Its highly configurable, letting you choose how many days are in a...
98.3 KB  
Libraries  -  Class::Maker 0.05.18
Class::Maker Perl module contains classes, reflection, schema, serialization, attribute- and multiple inheritance. SYNOPSIS use Class::Maker qw(class); class Human, { isa => [qw( ParentClass )], public => { string => [qw(name lastname)],...
49.15 KB  
Libraries  -  Class::Meta::Express 0.04
Class::Meta::Express is a Perl module for concise, expressive creation of Class::Meta classes. Synopsis package My::Contact; use Class::Meta::Express; class { meta contact => ( default_type => string ); has name; has contact => (...
9.22 KB  
Libraries  -  Class::Container 0.12
Class::Container is a Perl module with Glues object frameworks together transparently. SYNOPSIS package Car; use Class::Container; @ISA = qw(Class::Container); __PACKAGE__->valid_params ( paint => {default => burgundy}, style =>...
19.46 KB  
Libraries  -  Class::Meta::Type 0.53
Class::Meta::Type is a Perl module for data type validation and accessor building. SYNOPSIS package MyApp::TypeDef; use strict; use Class::Meta::Type; use IO::Socket; my $type = Class::Meta::Type->add( key => io_socket, desc =>...
61.44 KB  
Libraries  -  Attachment Mailer class 1.20
Attachment Mailer class is a PHP class that can send email messages with multiple attachments and HTML. I wrote this class to integrate more functionality for classes like Access_user or DB_cart and others using PHP’s mail function. But...
19.46 KB  
Code Management Tools  -  ProGuard 3.9 / 4.0 Beta
ProGuard is a free Java class file shrinker, optimizer, and obfuscator. ProGuard project can detect and remove unused classes, fields, methods, and attributes. It can then optimize bytecode and remove unused instructions. Finally, it can rename...
 
Libraries  -  Class::Declare::Attributes 0.04
Class::Declare::Attributes is a Perl module with Class::Declare method types using Perl attributes. SYNOPSIS package My::Class; use 5.006; use strict; use warnings; use base qw( Class::Declare::Attributes ); # declare the...
21.5 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.12.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