Fh
CodeBase is a Perl module for accessing dBASE files. ABSTRACT The CodeBase module provides a Perl 5 class for accessing dBASE files. It is a development of an earlier unpublished Perl 4 extension. SYNOPSIS Programs using the CodeBase module must include the line: use CodeBase; The...
Platforms: *nix
License: Freeware | Size: 30.72 KB | Download (108): CodeBase Download |
CGI::Simple is a simple totally OO CGI interface that is CGI.pm compliant. SYNOPSIS use CGI::Simple; $CGI::Simple::POST_MAX = 1024; # max upload via post default 100kB $CGI::Simple::DISABLE_UPLOADS = 0; # enable uploads $q = new CGI::Simple; $q = new CGI::Simple( { foo=>1, bar=>[2,3,4] }...
Platforms: *nix
License: Freeware | Size: 84.99 KB | Download (103): CGI::Simple Download |
XML::ValidWriter is DOCTYPE driven valid XML output. SYNOPSIS ## As a normal perl object: $writer = XML::ValidWriter->new( DOCTYPE => $xml_doc_type, OUTPUT => *FH ) ; $writer->startTag( b1 ) ; $writer->startTag( c2 ) ; $writer->end ; ## Writing to a scalar: $writer =...
Platforms: *nix
License: Freeware | Size: 28.67 KB | Download (93): XML::ValidWriter Download |
Mac::PropertyList is a Perl module to work with Mac plists at a low level. SYNOPSIS use Mac::PropertyList; my $data = parse_plist( $text ); # == OR == my $data = parse_plist_file( $filename ); # == OR == open my( $fh ), $filename or die "..."; my $data = parse_plist_fh( $fh ); my...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (126): Mac::PropertyList Download |
File::Sync is a Perl access to fsync() and sync() function calls. SYNOPSIS use File::Sync qw(fsync sync); fsync(*FILEHANDLE) or die "fsync: $!"; sync(); use File::Sync qw(fsync); use IO::File; $fh = IO::File->new("> /tmp/foo") or die "new IO::File: $!"; ... fsync($fh) or die "fsync:...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (112): File::Sync Download |
Cache::Repository is a Perl module used to cache generic file repository. SYNOPSIS my $rep = Cache::Repository->new( style => Filesys, # options for the F::R driver ); $rep->add_files(tag => groupname, files => @filenames, basedir => /tmp, move => 1, ); $rep->add_filehandle(tag =>...
Platforms: *nix
License: Freeware | Size: 12.29 KB | Download (102): Cache::Repository Download |
Audio::SPX is a Perl interface to the Sphinx-II audio library. SYNOPSIS use Audio::SPX; my $ad = Audio::SPX->open_sps(16000); $ad->start_rec or die "start_rec failed"; $ad->stop_rec or die "stop_rec failed"; my $samples = $ad->read($buf, $max); my $cad =...
Platforms: *nix
License: Freeware | Size: 91.14 KB | Download (106): Audio::SPX Download |
IO::Interactive is a Perl module with utilities for interactive I/O. SYNOPSIS use IO::Interactive qw(is_interactive interactive busy); if ( is_interactive() ) { print "Running interactivelyn"; } # or... print {interactive} "Running interactivelyn"; $fh = busy {...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (88): IO::Interactive Download |
IO::Busy is a Perl module to intercept terminal input while something else is happening. SYNOPSIS use IO::Busy; my $fh = busy { non_interactive_stuff(); }; This module exports a single subroutine, named busy. That subroutine takes a single argument, which must be a block of code. busy...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (93): IO::Busy Download |
Text::Refer can parse Unix "refer" files. SYNOPSIS Pull in the module: use Text::Refer; Parse a refer stream from a filehandle: while ($ref = input Text::Refer *FH) { # ...do stuff with $ref... } defined($ref) or die "error parsing input"; Same, but using a parser object for more...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (92): Text::Refer Download |
Convert::BinHex can extract data from Macintosh BinHex files. ALPHA WARNING: this code is currently in its Alpha release. Things may change drastically until the interface is hammered out: if you have suggestions or objections, please speak up now! SYNOPSIS Simple functions: use...
Platforms: *nix
License: Freeware | Size: 84.99 KB | Download (126): Convert::BinHex Download |
Bio::Index::Swissprot is a Perl Interface for indexing (multiple) Swissprot .dat files (ie flat file swissprot format). SYNOPSIS # Complete code for making an index for several # Swissprot files use Bio::Index::Swissprot; use strict; my $Index_File_Name = shift; my $inx =...
Platforms: *nix
License: Freeware | Size: 4.7 MB | Download (100): Bio::Index::Swissprot Download |
Proc::Forking is a Perl module that provides a set of tool to fork and daemonize. SYNOPSIS #!/usr/bin/perl use strict; use Proc::Forking; use Data::Dumper; use Time::HiRes qw(usleep); # to allow micro sleep my $f = Proc::Forking->new(); $SIG{ KILL } = $SIG{ TERM } = $SIG{ INT } = sub...
Platforms: *nix
License: Freeware | Size: 11.26 KB | Download (86): Proc::Forking Download |
FileCache is a Perl module to keep more files open than the system permits. SYNOPSIS use FileCache; # or use FileCache maxopen => 16; cacheout $mode, $path; # or cacheout $path; print $path @data; $fh = cacheout $mode, $path; # or $fh = cacheout $path; print $fh @data; The...
Platforms: *nix
License: Freeware | Size: 12.2 MB | Download (93): FileCache Download |
Errno package contains system errno constants. SYNOPSIS use Errno qw(EINTR EIO :POSIX); Errno defines and conditionally exports all the error constants defined in your system errno.h include file. It has a single export tag, :POSIX, which will export all POSIX defined error numbers. Errno...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (89): Errno Download |
Unix::Conf::Bind8::Conf is a front end for a suite of classes for manipulating a Bind8 style configuration file. SYNOPSIS my ($conf, $obj, $ret); $conf = Unix::Conf::Bind8->new_conf ( FILE => named.conf, SECURE_OPEN => /etc/named.conf, ) or $conf->die ("couldnt create `named.conf"); #...
Platforms: *nix
License: Freeware | Size: 77.82 KB | Download (102): Unix::Conf::Bind8::Conf Download |
Net::DNS::ZoneFile is a Perl extension to convert a zone file to a collection of RRs. SYNOPSIS use Net::DNS::ZoneFile; my $rrset = Net::DNS::ZoneFile->read($filename[, $root]); print $_->string . "n" for @$rrset; my $rrset = Net::DNS::ZoneFile->readfh($fh[, $root]); # OR my $rrset =...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (98): Net::DNS::ZoneFile Download |
File::MMagic is a Perl module to guess file type. SYNOPSIS use File::MMagic; use FileHandle; $mm = new File::MMagic; # use internal magic file # $mm = File::MMagic->new(/etc/magic); # use external magic file # $mm = File::MMagic->new(/usr/share/etc/magic); # if you use Debian $res =...
Platforms: *nix
License: Freeware | Size: 21.5 KB | Download (96): File::MMagic Download |
Hardware::Vhdl::Lexer is a Perl module that can split VHDL code into lexical tokens. SYNOPSIS use Hardware::Vhdl::Lexer; # Open the file to get the VHDL code from my $fh; open $fh, <, device_behav.vhd || die $! # Create the Lexer object my $lexer = Hardware::Vhdl::Lexer->new({...
Platforms: *nix
License: Freeware | Size: 11.26 KB | Download (107): Hardware::Vhdl::Lexer Download |
Geo::TigerLine::Record::B is a TIGER/Line 2003 Polygon Geographic Entity Codes: Corrections. SYNOPSIS use Geo::TigerLine::Record::B; @records = Geo::TigerLine::Record::B->parse_file($fh); @records = Geo::TigerLine::Record::B->parse_file($fh, &callback); $record =...
Platforms: *nix
License: Freeware | Size: 40.96 KB | Download (101): Geo::TigerLine::Record::B Download |