Filehandle
FileHandle::Unget is a Perl module which is a drop-in replacement for FileHandle. It allows more than one byte to be placed back on the input. It supports an ungetc(ORD) which can be called more than once in a row, and an ungets(SCALAR) which places a string of bytes back on the input..
Platforms: *nix
License: Freeware | Size: 44.03 KB | Download (87): FileHandle::Unget 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 |
Log::StdLog is a Perl module with a simple log file via a special filehandle. SYNOPSIS use Log::StdLog { level => warn, file => "$0.log" }; # Messages at the same or a higher level are logged... print {*STDLOG} error => "This error message will be loggedn"; print {*STDLOG} warn => "This...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (94): Log::StdLog Download |
IO::Util is a selection of general-utility IO function. SYNOPSIS use IO::Util qw(capture slurp Tid Lid Uid load_mml); capture() # captures the selected filehandle $output_ref = capture { any_printing_code() } ; # now $$output_ref eq something # captures FILEHANDLE $output_ref = capture...
Platforms: *nix
License: Freeware | Size: 14.34 KB | Download (89): IO::Util Download |
XML::TiePYX is a Perl module to read or write XML data in PYX format via tied filehandle SYNOPSIS use XML::TiePYX; tie *XML,XML::TiePYX,file.xml open IN,file.xml or die $!; tie *XML,XML::TiePYX,*IN,Condense=>0; my $text=< tag xmlns="http://www.omsdev.com" >text< /tag >; tie...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (95): XML::TiePYX Download |
Search::Dict is a Perl module to search for key in dictionary file. SYNOPSIS use Search::Dict; look *FILEHANDLE, $key, $dict, $fold; use Search::Dict; look *FILEHANDLE, $params; Sets file position in FILEHANDLE to be first line greater than or equal (stringwise) to $key. Returns the new...
Platforms: *nix
License: Freeware | Size: 12.2 MB | Download (100): Search::Dict Download |
SelfLoader is a Perl module created to load functions only on demand. SYNOPSIS package FOOBAR; use SelfLoader; ... (initializing code) __DATA__ sub {.... This module tells its users that functions in the FOOBAR package are to be autoloaded from after the __DATA__ token. See also...
Platforms: *nix
License: Freeware | Size: 12.2 MB | Download (90): SelfLoader Download |
Tie::Gzip is a Perl module that can read and write gzip compressed files. SYNOPSIS require Tie::Gzip; tie filehandle, Tie::Gzip tie filehandle, Tie::Gzip, mode, filename tie filehandle, Tie::Gzip, filename tie filehandle, Tie::Gzip, %options tie filehandle, Tie::Gzip, mode, filename,...
Platforms: *nix
License: Freeware | Size: 71.68 KB | Download (128): Tie::Gzip Download |
IO::Unread is a Perl module that exports one function, unread, which will push data back onto a filehandle. Any amount of data can be pushed: if your perl is built with PerlIO layers, the data is stored in a special :pending layer; if not, the module ties the filehandle to a class which returns...
Platforms: *nix
License: Freeware | Size: 61.44 KB | Download (37): IO::Unread for Linux Download |
A simple IPC session with read/write capability using IPC::Open3 and IO::Select USAGE ^ $session = IPC::RunSession::Simple->open( $cmd ) Create a new session by calling open3 on $cmd $result = $session->read( [ $timeout ] ) Read (blocking) until some output is gotten If $timeout is given, then...
Platforms: *nix
License: Freeware | Size: 20.48 KB | Download (33): IPC::RunSession::Simple Download |
The Unix::ConfigFile module provides a base class from which the other Unix::*File modules are derived. It provides some basic facilities like file opening, locking, and closing. You do not need to use this module directly unless you are developing a derived module for an unsupported...
Platforms: *nix
License: Freeware | Size: 20.48 KB | Download (44): Unix::ConfigFile Download |
Filesys::SmbClient is a Perl interface for access Samba filesystem with libsmclient.so SYNOPSIS use POSIX; use Filesys::SmbClient; my $smb = new Filesys::SmbClient(username => "alian", password => "speed", workgroup => "alian", debug => 10); # Read a file my $fd =...
Platforms: *nix
License: Freeware | Size: 51.2 KB | Download (109): Filesys::SmbClient Download |
Test::Smoke::Patcher is a OO interface to help patching the source-tree. SYNOPSIS use Test::Smoke::Patcher; my $patcher = Test::Smoke::Patcher->new( single => { ddir => $build_dir, pfile => $patch, popts => -p1, v => 1, # 0..2 }); $patcher->patch; or my $patcher =...
Platforms: *nix
License: Freeware | Size: 153.6 KB | Download (110): Test::Smoke::Patcher Download |
CGI::Cache is a Perl extension to help cache output of time-intensive CGI scripts. WARNING The interface as of version 1.01 has changed considerably and is NOT compatible with earlier versions. A smaller interface change also occurred in version 1.20. SYNOPSIS Heres a simple example:...
Platforms: *nix
License: Freeware | Size: 44.03 KB | Download (94): CGI::Cache Download |
PerlIO::via::Logger is a PerlIO layer for prefixing current time to log output. SYNOPSIS use PerlIO::via::Logger; PerlIO::via::Logger->format( [%b %d, %Y %r] ); use PerlIO::via::Logger format => [%b %d, %Y %r] ; open( my $in,<:via(Logger),filein ) or die "Cant open file.ln for reading:...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (105): PerlIO::via::Logger Download |
Filesys::DiskFree is a Perl module to perform the Unix command df in a portable fashion. SYNOPSIS use Filesys::DiskFree; $handle = new Filesys::DiskFree; $handle->df(); print "The root device is ".$handle->device("/")."n"; print "It has ".$handle->avail("/")." bytes availablen"; print...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (98): Filesys::DiskFree Download |
FFmpeg::StreamGroup is a group of related media streams, typically encapsulated in a single file. SYNOPSIS $ff = FFmpeg->new() #see FFmpeg; #... $sg = $ff->build_streamgroup(); Objects of this class are not intended to be instantiated directly by the end user. Access FFmpeg::StreamGroup...
Platforms: *nix
License: Freeware | Size: 1.8 MB | Download (91): FFmpeg::StreamGroup Download |
MP3::Icecast is a Perl module to generate Icecast streams, as well as M3U and PLSv2 playlists. SYNOPSIS use MP3::Icecast; use MP3::Info; use IO::Socket; my $listen_socket = IO::Socket::INET->new( LocalPort => 8000, #standard Icecast port Listen => 20, Proto => tcp, Reuse => 1,...
Platforms: *nix
License: Freeware | Size: 33.79 KB | Download (114): MP3::Icecast Download |
Convert::UU is a Perl module for uuencode and uudecode. SYNOPSIS use Convert::UU qw(uudecode uuencode); $encoded_string = uuencode($string,[$filename],[$mode]); ($string,$filename,$mode) = uudecode($string); $string = uudecode($string); # in scalar context uuencode() takes as the first...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (102): Convert::UU Download |
Piffle::Template is a Perlish templating language. SYNOPSIS use Piffle::Template; use Piffle::Template qw{template_to_perl expand_template}; # OO syntax, with output stored and returned: print Piffle::Template->expand(source_file => foo/fish.xml, include_path => [foo/inc,foo]); #...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (100): Piffle::Template Download |