Scalars
Tie::CharArray module can access Perl scalars as arrays of characters. SYNOPSIS use Tie::CharArray; my $foobar = a string; tie my @foo, Tie::CharArray, $foobar; $foo[0] = A; # $foobar = A string push @foo, !; # $foobar = A string! print "@foon"; # prints: A s t r i n g ! tie my @bar,...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (96): Tie::CharArray Download |
Scalar::Footnote is a Perl module that can attach hidden scalars to references. SYNOPSIS use Data::Dumper; use Scalar::Footnote; my $obj = Foo->new; # attach invisible footnote to $obj: $obj->Scalar::Footnote::set( my_key => my footnote ); print Dumper( $obj ); # get it back: my...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (94): Scalar::Footnote Download |
Readonly is a Perl module that offers the facility for creating read-only scalars, arrays, hashes. SYNOPSIS use Readonly; # Read-only scalar Readonly::Scalar $sca => $initial_value; Readonly::Scalar my $sca => $initial_value; # Read-only array Readonly::Array @arr => @values;...
Platforms: *nix
License: Freeware | Size: 13.31 KB | Download (95): Readonly Download |
Tie::Scalar::Sticky is a Perl module with block assignments to scalars. SYNOPSIS use strict; use Tie::Scalar::Sticky; tie my $sticky, Tie::Scalar::Sticky; $sticky = 42; $sticky = ; # still 42 $sticky = undef; # still 42 $sticky = 0; # now its zero tie my $sticky, Tie::Scalar::Sticky...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (88): Tie::Scalar::Sticky Download |
The function arg2vars serves for assigning of values from input argument(s) to variables declared in the output list in the place ofthe function calling. Not assigned output variables are empty, while superfluous arguments are cut to a number of output variables. Number of allocated items is a...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Multiple assignment Download |
Language::Basic::Variable is a Perl module to handle parsing and implementing BASIC variables. SYNOPSIS See Language::Basic for the overview of how the Language::Basic module works. This pod page is more technical. There are two sorts of variables: Arrays and Scalars. Each of those classes...
Platforms: *nix
License: Freeware | Size: 52.22 KB | Download (92): Language::Basic::Variable Download |
Stream::Reader is a stream reader Perl class. SYNOPSIS # Input stream can be reference to TYPEGLOB or SCALAR, output stream # can be the same types or undefined # Constructor $stream = Stream::Reader->new( *IN, { Limit => $limit, BuffSize => $buffsize, Mode => UB } ); # Reading all...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (108): Stream::Reader Download |
Nasal is a language that I wrote for use in a personal project. Ostensibly it was because I was frustrated with the dearth of small-but-complete embeddable scripting languages, but of course I really wrote it because it was fun. It is still young and incomplete in a few places, but is under...
Platforms: *nix
License: Freeware | Size: 102.4 KB | Download (99): Nasal Download |
COPE is a CORBA implemented in Perl. This documents describes the steps you take when writing a CORBA application in Perl using COPE. First the basics: the laguage binding used. Scalar types char The char type is represented as a 1-character perl string, like a. octet octet is...
Platforms: *nix
License: Freeware | Size: 38.91 KB | Download (94): COPE Download |
Image::ParseGIF can parse a GIF image into its compenent parts. SYNOPSIS use Image::ParseGIF; $gif = new Image::ParseGIF ("image.gif") or die "failed to parse: $@n"; # write out a deanimated version, showing only the first frame $gif->deanimate(0); # same again, manually printing each...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (105): Image::ParseGIF Download |
Acme::Hyperindex is a Perl module to look deep into structures using a list of indexes. SYNOPSIS use strict; use Acme::Hyperindex; my @struct = ( { j_psi => [qw( eta_prime phi kaon )] }, { j_psi => [qw( selectron down tau_sneutrino )] }, { j_psi => [qw( upsilon gluino photino )] } );...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (97): Acme::Hyperindex Download |
Bio::NEXUS::TreesBlock is a Perl module that represents TREES block of a NEXUS file. SYNOPSIS if ( $type =~ /trees/i ) { $block_object = new Bio::NEXUS::TreesBlock( $block_type, $block, $verbose ); } If a NEXUS block is a Trees Block, this module parses the block and stores the tree data....
Platforms: *nix
License: Freeware | Size: 153.6 KB | Download (91): Bio::NEXUS::TreesBlock Download |
Variable::Alias is a Perl module created to alias any variable to any other variable. SYNOPSIS use Variable::Alias alias; my $src; my $a; our $b; my @c; our @d; alias $src => $a; alias $a => $b; alias $b => $c[0]; alias @c => @d; $src=src; # All the other variables now have the...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (90): Variable::Alias Download |
Devel::FindGlobals is a Perl module to find global variables and their size. SYNOPSIS use Devel::FindGlobals; print print_globals_sizes(); This module just runs around and over the symbol table, finds global variables, gets their sizes with Devel::Size, and then prints them out....
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (88): Devel::FindGlobals Download |
Perl6::Currying is a Perl 6 subroutine currying for Perl 5. SYNOPSIS use Perl6::Currying; sub add ($a,$b) { $a + $b } # Define a sub with named params print add(1,2); # Call it my $incr = &add.prebind(a=>1); # Bind the $a argument to 1 # to create an increment subroutine print...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (89): Perl6::Currying Download |
Class::Std::Utils is a Perl module for utility subroutines for building "inside-out" objects. SYNOPSIS use Class::Std::Utils; # Constructor for anonymous scalars... my $new_object = bless anon_scalar(), $class; # Convert an object reference into a unique ID number... my $ID_num = ident...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (93): Class::Std::Utils Download |
Taint is a Perl extension to taint variables. SYNOPSIS use Taint; taint($taintvar[, $anothervar[, $yetmorevars]]); $bool = tainted($vartocheck); taint() marks its arguments as tainted. tainted() returns true if its argument is tainted, false otherwise DIAGNOSTICS Attempt to taint...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (91): Taint Download |
IO-stringy is a I/O on in-core objects like strings and arrays. SYNOPSIS IO:: ::AtomicFile adpO Write a file which is updated atomically ERYQ ::Lines bdpO I/O handle to read/write to array of lines ERYQ ::Scalar RdpO I/O handle to read/write to a string ERYQ ::ScalarArray RdpO I/O handle...
Platforms: *nix
License: Freeware | Size: 40.96 KB | Download (96): IO-stringy Download |
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 => ( required => 1 ); } This module provides an interface...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (92): Class::Meta::Express Download |
Class::IntrospectionMethods is a Perl module that creates methods with introspection. SYNOPSIS use Class::IntrospectionMethods qw/make_methods/; make_methods ( parent, global_catalog => { name => metacat, list => [ [qw/foo/] => f_cat, [qw/bar baz/] => b_cat, ], } new_with_init...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (92): Class::IntrospectionMethods Download |