File Array
Tie::File can access the lines of a disk file via a Perl array. SYNOPSIS # This file documents Tie::File version 0.96 use Tie::File; tie @array, Tie::File, filename or die ...; $array[13] = blah; # line 13 of the file is now blah print $array[42]; # display line 42 of the file $n_recs...
Platforms: *nix
License: Freeware | Size: 67.58 KB | Download (91): Tie::File Download |
This simple PHP example shows how to read a text file into an array, with each line of the file as a seperate element.
Platforms: Windows, *nix, PHP, BSD
License: Freeware | Download (64): read file to array Download |
pcap2c converts a pcap capture file (such as one from Ethereal/Wireshark or tcpdump) into a C source file, where the packets are stored as unsigned char arrays. These packets can then be compiled into a C program where they can be easily used for further manipulation, retransmission, etc....
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (103): pcap2c Download |
Audio:PSID is a Perl module to handle SID files (Commodore-64 music files). SYNOPSIS use Audio::SID; $mySID = new Audio::SID(-filename => Test.sid) or die "Whoops!"; print "Title = " . $mySID->get(title) . "n"; print "MD5 = " . $mySID->getMD5(); $mySID->set(author => LaLa, title =>...
Platforms: *nix
License: Freeware | Size: 22.53 KB | Download (92): Audio:PSID Download |
SYNTAX: [success,message] = xlsappend(file,data,sheet)XLSAPPEND Stores numeric array or cell array to the end of specified Excel sheet.REQUIRES ONLY ONE CALL TO THE EXCEL ACTXSERVER, so the overhead is less than for successive xlsread/xlswrite calls.[SUCCESS,MESSAGE]=XLSAPPEND(FILE,ARRAY,SHEET)...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): XLSAPPEND Download |
This function writes a cell array into a CSV-file.It works with empty cells, numeric, char, string and logical cells. One array can contain all of them, but only one value per cell.CSV-files can then be read by Excel, so you don't need DDE or ActiveX.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Cell Array to CSV-file [cell2csv.m] Download |
This function enables you to directly write data from a cell array into a text file, which functions like FWRITE and FPRINTF do not.Usage:fwritecell(filename, format, data) writes cell array "data" to the file with name "filename" using the C language conversion specifications in argument...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): Write a cell array to a text file Download |
Converts the WAV data to a byte array which is stored as text in a GZIP file. Can play back the audio from GZIP .BAZ file. The Byte Array Delimiter is a colon. Currently for WAV's under 8MB. MUST SET HEAP SIZE ACCORDINGLY WHEN RUNNING. Source Avail.
Platforms: Mac
License: Shareware | Cost: $0.00 USD | Size: 133.12 KB | Download (40): Java Audio Byte Array Zip Download |
ReStoring Data's File List Generator Freeware software filters, prints, and organizes via a file's: name, type, size, created date, and date last modified. It was developed by the Research and Development team to aid data recovery service clients to ensure their files have been recovered....
Platforms: Windows
License: Freeware | Size: 5.63 MB | Download (328): File List Generator Download |
File::Next::OO is a Perl module with file-finding iterator Wrapper for File::Next::files function. SYNOPSIS File::Next::OO is just a wrapper around File::Next::files function. But it is easy to remember and less typing. Call it always with object notation. Not mixed as in File::Next itself....
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (96): File::Next::OO Download |
File::Find::Closures is a Perl module with functions you can use with File::Find. SYNOPSIS use File::Find; use File::Find::Closures qw(:all); my( $wanted, $list_reporter ) = find_by_name( qw(README) ); File::Find::find( $wanted, @directories ); File::Find::find( { wanted => $wanted, ......
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (94): File::Find::Closures Download |
File::Sort is a Perl module to sort a file or merge sort multiple files. SYNOPSIS use File::Sort qw(sort_file); sort_file({ I => [qw(file_1 file_2)], o => file_new, k => 5.3,5.5rn, -t => | }); sort_file(file1, file1.sorted); This module sorts text files by lines (or records)....
Platforms: *nix
License: Freeware | Size: 32.77 KB | Download (94): File::Sort Download |
File::Listing is a Perl module to parse directory listing. SYNOPSIS use File::Listing qw(parse_dir); for (parse_dir(`ls -l`)) { ($name, $type, $size, $mtime, $mode) = @$_; next if $type ne f; # plain file #... } # directory listing can also be read from a file open(LISTING, "zcat...
Platforms: *nix
License: Freeware | Size: 235.52 KB | Download (102): File::Listing Download |
File::Xcopy can copy files after comparing them. SYNOPSIS use File::Xcopy; my $fx = new File::Xcopy; $fx->from_dir("/from/dir"); $fx->to_dir("/to/dir"); $fx->fn_pat((.pl|.txt)$); # files with pl & txt extensions $fx->param(s,1); # search recursively to sub dirs $fx->param(verbose,1); #...
Platforms: *nix
License: Freeware | Size: 15.36 KB | Download (109): File::Xcopy Download |
File::Wildcard is a Perl module for enhanced glob processing. SYNOPSIS use File::Wildcard; my $foo = File::Wildcard->new(path => "/home/me///core"); while (my $file = $foo->next) { unlink $file; } When looking at how various operating systems do filename wildcard expansion (globbing),...
Platforms: *nix
License: Freeware | Size: 23.55 KB | Download (96): File::Wildcard Download |
File::Comments is a Perl module that ecognizes file formats and extracts format-specific comments. SYNOPSIS use File::Comments; my $snoop = File::Comments->new(); # *---------------- # | program.c: # | /* comment */ # | main () {} # *---------------- my $comments =...
Platforms: *nix
License: Freeware | Size: 12.29 KB | Download (91): File::Comments Download |
Tie::FlatFile::Array is a Perl extension which treats a flatfile database as an array of arrays. This module allows the programmer to treat a flatfile database as as array of arrays. For example, lets say you have a datafile that has fixed-length records like so: Field-name Type URL ASCII...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (94): Tie::FlatFile::Array Download |
File::Format::RIFF is a Perl module to Resource Interchange File Format/RIFF files. SYNOPSIS use File::Format::RIFF; open( IN, file ) or die "Could not open file: $!"; my ( $riff1 ) = File::Format::RIFF->read( *IN ); close( IN ); $riff1->dump; my ( $riff2 ) = new File::Format::RIFF(...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (151): File::Format::RIFF Download |
File::Maker is a Perl module that mimics a make by loading a database and calling targets methods. SYNOPSIS ##### # Subroutine interface # use File::Maker qw(load_db); %data = load_db($pm); ###### # Object interface # require File::Maker; $maker = $maker->load_db($pm);...
Platforms: *nix
License: Freeware | Size: 77.82 KB | Download (102): File::Maker Download |
File::PM2File - obsolete. User File::Where SYNOPSIS file_in_include() # obsolete. Replace with File::Where::where() pm2file() # obsolete. Replace with File::Where::where_pm() pm2require() # obsolete. Replace with File::Where::pm2require() $File::PM2File::warn_obsolete = 1; # turns on...
Platforms: *nix
License: Freeware | Size: 33.79 KB | Download (103): File::PM2File Download |