Perl Programming Tutorial
Template::Plugins is a Perl module with plugin provider. SYNOPSIS use Template::Plugins; $plugin_provider = Template::Plugins->new(%options); ($plugin, $error) = $plugin_provider->fetch($name, @args); The Template::Plugins module defines a provider class which can be used to load and...
Platforms: *nix
License: Freeware | Size: 778.24 KB | Download (176): Template::Plugins Download |
Code::Perl is a Perl module to produce Perl code from a tree. SYNOPSIS use Code::Perl::Expr qw( :easy ); my $c = derefh(scal(hash), calls(getkey)); print $c->perl; # ($hash)->{getkey()} Code::Perl allows you to build chunks of Perl code as a tree and then when youre finished building,...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (175): Code::Perl Download |
Clone is a Perl module that can recursively copy Perl datatypes. SYNOPSIS use Clone; push @Foo::ISA, Clone; $a = new Foo; $b = $a->clone(); # or use Clone qw(clone); $a = { foo => bar, move => zig }; $b = [ alpha, beta, gamma, vlissides ]; $c = new Foo(); $d = clone($a); $e =...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (174): Clone Download |
XML::Generator::vCard::RDF is a Perl module that can generate RDF/XML SAX2 events for vCard 3.0 SYNOPSIS use XML::SAX::Writer; use XML::Generator::vCard::RDF; my $writer = XML::SAX::Writer->new(); my $driver = XML::Generator::vCard::RDF->new(Handler=>$writer);...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (173): XML::Generator::vCard::RDF Download |
Workflow::Factory is a Perl module that generates new workflow and supporting objects. SYNOPSIS # Import the singleton for easy access use Workflow::Factory qw( FACTORY ); # Add XML configurations to the factory FACTORY->add_config_from_file( workflow => workflow.xml, action => [...
Platforms: *nix
License: Freeware | Size: 102.4 KB | Download (173): Workflow::Factory Download |
Solaris::Kstat is a Perl module to access Solaris Kstats from Perl. SYNOPSIS use Solaris::Kstat; my $kstat = Solaris::Kstat->new(); my ($usr1, $sys1, $wio1, $idle1) = @{$kstat->{cpu_stat}{0}{cpu_stat0}}{qw(user kernel wait idle)}; print("usr sys wio idlen"); while (1) { sleep 5; if...
Platforms: *nix
License: Freeware | Size: 24.58 KB | Download (172): Solaris::Kstat Download |
WML::Deck is a Perl extension for builiding WML Decks. SYNOPSIS use WML::Card; use WML::Deck; my @cards; my $options= [ [Option 1, http://...], [Option 2, http://...], ]; my $c = WML::Card->guess(index,Wap Site); $c->link_list(indice, undef, 0, $options, $options); push @cards, $c;...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (172): WML::Deck Download |
Sys::CPU is a Perl extension for getting CPU information. Currently only number of CPUs supported. SYNOPSIS use Sys::CPU; $number_of_cpus = Sys::CPU::cpu_count(); printf("I have %d CPUsn",$number_of_cpus); print " Speed : ",Sys::CPU::cpu_clock(),"n"; print " Type :...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (171): Sys::CPU Download |
Graph::Flowchart is a Perl module that can generate easily flowcharts as Graph::Easy objects. SYNOPSIS use Graph::Flowchart; my $flow = Graph::Flowchart->new(); print $flow->as_ascii(); This module lets you easily create flowcharts as Graph::Easy objects. This means you can output your...
Platforms: *nix
License: Freeware | Size: 34.82 KB | Download (171): Graph::Flowchart Download |
AI::DecisionTree is Perl module for automatically Learns Decision Trees. SYNOPSIS use AI::DecisionTree; my $dtree = new AI::DecisionTree; # A set of training data for deciding whether to play tennis $dtree->add_instance (attributes => {outlook => sunny, temperature => hot, humidity =>...
Platforms: *nix
License: Freeware | Size: 25.6 KB | Download (170): AI::DecisionTree Download |
Chart::Graph::Xrt3d is a Perl module for creating 3D graph charts. SYNOPSIS #Include module use Chart::Graph::Xrt3d qw(xrt3d); # Function call xrt3d(%options, @data_set ); This module is unmaintained, it worked with Sitrakas XRT, and hasnt been tested against newer versions. Sitraka...
Platforms: *nix
License: Freeware | Size: 245.76 KB | Download (169): Chart::Graph::Xrt3d Download |
Math::Combinatorics is a Perl module that can perform combinations and permutations on lists. SYNOPSIS Available as an object oriented API. use Math::Combinatorics; my @n = qw(a b c); my $combinat = Math::Combinatorics->new(count => 2, data => [@n], ); print "combinations of 2 from:...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (168): Math::Combinatorics Download |
XML::Handler::YAWriter is a yet another Perl SAX XML Writer. SYNOPSIS use XML::Handler::YAWriter; my $ya = new XML::Handler::YAWriter( %options ); my $perlsax = new XML::Parser::PerlSAX( Handler => $ya ); YAWriter implements Yet Another XML::Handler::Writer. The reasons for this one are...
Platforms: *nix
License: Freeware | Size: 25.6 KB | Download (168): XML::Handler::YAWriter Download |
File::Remove is a Perl module to remove files and directories. SYNOPSIS use File::Remove qw(remove); # removes (without recursion) several files remove qw( *.c *.pl ); # removes (with recursion) several directories remove 1, qw( directory1 directory2 ); # removes (with recursion)...
Platforms: *nix
License: Freeware | Size: 14.34 KB | Download (167): File::Remove Download |
Convert::Wiki::Node::Para is a Perl module that represents a text paragraph node. SYNOPSIS use Convert::Wiki::Node::Para; my $para = Convert::Wiki::Node->new( txt => Foo is a foobar., type => para ); print $para->as_wiki(); A Convert::Wiki::Node::Para represents a normal text paragraph..
Platforms: *nix
License: Freeware | Size: 19.46 KB | Download (167): Convert::Wiki::Node::Para Download |
Mon::SNMP is a Perl module created to decode SNMP trap. SYNOPSIS use Mon::SNMP; $trap = new Mon::SNMP; $trap->buffer($snmptrap); %traphash = $trap->decode; $error = $trap->error; Mon::SNMP provides methods to decode SNMP trap PDUs. It is based on Graham Barrs Convert::BER module,...
Platforms: *nix
License: Freeware | Size: 23.55 KB | Download (166): Mon::SNMP Download |
Catalyst::Plugin::Dumper is a Perl module with Data::Dumper plugin for Catalyst. SYNOPSIS use Catalyst qw/-Debug Dumper/; $c->log->dumper($myvar); $c->log->dumper($myvar, mylabel); This plugin injects a dumper() method into the Catalyst::Log namespace. INTERFACE...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (165): Catalyst::Plugin::Dumper Download |
XML::WBXML is a Perl module to convert between XML and WBXML using libwbxml2. SYNOPSIS use XML::WBXML; $wbxml = XML::WBXML::xml_to_wbxml($xml); $xml = XML::WBXML::wbxml_to_xml($wbxml); This module is a wrapper around Aymerick Jehannes libwbxml (or perhaps libwbxml2, I am not sure what...
Platforms: *nix
License: Freeware | Size: 52.22 KB | Download (165): XML::WBXML Download |
HTML::BBReverse is a Perl module to convert HTML to BBCode and back. SYNOPSIS use HTML::BBReverse my $bbr = HTML::BBReverse->new(); # convert BBCode into HTML my $html = $bbr->parse($bbcode); # convert generated HTML back to BBCode my $bbcode = $bbr->reverse($html); HTML::BBReverse...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (165): HTML::BBReverse Download |
DateTime::Calendar::Mayan is a Perl module with the Mayan Long Count, Haab, and Tzolkin calendars. SYNOPSIS use DateTime::Calendar::Mayan my $dtcm = DateTime::Calendar::Mayan->new( baktun => 12, katun => 19, tun => 10, uinal => 2, kin => 8, # alternate epoch epoch => DateTime->new(...
Platforms: *nix
License: Freeware | Size: 16.38 KB | Download (164): DateTime::Calendar::Mayan Download |