Parse File
File::Basename is a Perl module to parse file paths into directory, filename and suffix. SYNOPSIS use File::Basename; ($name,$path,$suffix) = fileparse($fullname,@suffixlist); $name = fileparse($fullname,@suffixlist); $basename = basename($fullname,@suffixlist); $dirname =...
Platforms: *nix
License: Freeware | Size: 12.2 MB | Download (113): File::Basename Download |
iCal::Parser is a Perl module to parse iCalendar files into a data structure. SYNOPSIS use iCal::Parser my $parser=iCal::Parser->new(); my $hash=$parser->parse($file); $parser->parse($another_file); my $combined=$parser->calendar; my $combined=iCal::Parser->new->parse(@files); my...
Platforms: *nix
License: Freeware | Size: 28.67 KB | Download (119): iCal::Parser Download |
RDF::Notation3 is a RDF Notation3 parser. SYNOPSIS $rdf = RDF::Notation3::Triples->new(); $rdf->parse_file($path); $triples = $rdf->get_triples; $rdf = RDF::Notation3::XML->new(); $rdf->parse_file($path); $string = $rdf->get_string; $handler = SAXHandler->new(); $rdf =...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (99): RDF::Notation3 Download |
Template::Plugin::XML::DOM is a plugin interface to XML::DOM. SYNOPSIS # load plugin [% USE dom = XML.DOM %] # also provide XML::Parser options [% USE dom = XML.DOM(ProtocolEncoding = ISO-8859-1) %] # parse an XML file [% doc = dom.parse(filename) %] [% doc = dom.parse(file =...
Platforms: *nix
License: Freeware | Size: 26.62 KB | Download (99): Template::Plugin::XML::DOM Download |
Data::Stag is a Perl module with structured tags datastructures. SYNOPSIS # PROCEDURAL USAGE use Data::Stag qw(:all); $doc = stag_parse($file); @persons = stag_find($doc, "person"); foreach $p (@persons) { printf "%s, %s phone: %sn", stag_sget($p, "family_name"), stag_sget($p,...
Platforms: *nix
License: Freeware | Size: 440.32 KB | Download (93): Data::Stag Download |
Data::Stag::HashDB is a perl used for building indexes over Stag files or objects. SYNOPSIS # parsing a file into a hash my $hdb = Data::Stag::HashDB->new; $hdb->unique_key("ss_details/social_security_no"); $hdb->record_type("person"); my $obj = {}; $hdb->index_hash($obj);...
Platforms: *nix
License: Freeware | Size: 440.32 KB | Download (129): Data::Stag::HashDB Download |
GO::Model::Term is a term or concept in an ontology. SYNOPSIS # From a file use GO::Parser; my $parser = new GO::Parser({handler=>obj}); # create parser object $parser->parse("gene_ontology.obo"); # parse file -> objects my $graph = $parser->handler->graph; # get L object my $term =...
Platforms: *nix
License: Freeware | Size: 593.92 KB | Download (97): GO::Model::Term Download |
Text::MetaMarkup::HTML is a MM-to-HTML converter. SYNOPSIS use Text::MetaMarkup::HTML; print Text::MetaMarkup::HTML->new->parse(file => $filename); This module extends Text::MetaMarkup and converts the parsed document to HTML. Text::MetaMarkup::HTML adds special support for the following...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (102): Text::MetaMarkup::HTML Download |
Make is a Perl module for processing makefiles. SYNOPSIS require Make; my $make = Make->new(...); $make->parse($file); $make->Script(@ARGV) $make->Make(@ARGV) $make->Print(@ARGV) my $targ = $make->Target($name); $targ->colon([dependancy...],[command...]);...
Platforms: *nix
License: Freeware | Size: 12.29 KB | Download (97): Make Download |
Tail is a graphical interface for following files, similar to the *nix command tail -f. Tail can monitor and show multiple files, parse file changes for optional keywords, and optionally notify you of changes both visually and audibly.
Platforms: Windows, Mac, Linux
License: Freeware | Size: 163.99 KB | Download (52): Tail 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::Type::Builder is Perl module to parse mime-magic and generate code. SYNOPSIS my $build = File::Type::Builder->new(); while ( ) { chomp; my $parsed = $build->parse_magic($_); my $code = $build->string_start($parsed); (or string_offset or beshort) } Reads in the mime-magic...
Platforms: *nix
License: Freeware | Size: 153.6 KB | Download (93): File::Type::Builder Download |
Config::File is a Perl module to parse a simple configuration file. SYNOPSIS use Config::File; my $config_hash = Config::File::read_config_file($configuration_file); read_config_file parses a simple configuration file and stores its values in an anonymous hash reference. The syntax of the...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (95): Config::File Download |
Parse::Binary::FixedFormat is a Perl module to convert between fixed-length fields and hashes. SYNOPSIS use Parse::Binary::FixedFormat; my $tarhdr = new Parse::Binary::FixedFormat [ qw(name:a100 mode:a8 uid:a8 gid:a8 size:a12 mtime:a12 chksum:a8 typeflag:a1 linkname:a100 magic:a6...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (96): Parse::Binary::FixedFormat Download |
Parse::Java is a Perl module that acts like a parser for Java code. SYNOPSIS use Parse::Java; my $ast = Parse::Java->parse_file(MyClass.java); Parse::Java parses Java code into an Abstract Syntax Tree which can be used for many things like writing compilers and stuff. As this module is...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (114): Parse::Java Download |
Chess::PGN::Parse is a Perl module that reads and parses PGN (Portable Game Notation) Chess files. SYNOPSIS use Chess::PGN::Parse; use English qw( -no_match_vars ); my $pgnfile = "kk_2001.pgn"; my $pgn = new Chess::PGN::Parse $pgnfile or die "cant open $pgnfilen"; while...
Platforms: *nix
License: Freeware | Size: 26.62 KB | Download (252): Chess::PGN::Parse Download |
Parse::RandGen::Regexp is a Perl module for regular expression Condition element. Regexp is a Condition element that matches the given compiled regular expression. For picking random data, the regular expression is parsed into its component Subrules, Literals, CharClasses, etc.... Therefore,...
Platforms: *nix
License: Freeware | Size: 25.6 KB | Download (90): Parse::RandGen::Regexp Download |
Nokia::File::NFB is a Perl module to create, read and write Nokia nfb/nfc phone backup files. SYNOPSIS use Nokia::File::NFB; my $nfb = new Nokia::File::NFB; ## read in the file phone_backup.nfb. $nfb->read(phone_backup.nfb); ## print out the phone model the backup file is of. print...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (517): Nokia::File::NFB Download |
Parse::RecDescent::FAQ is the official, authorized FAQ for Parse::RecDescent. OVERVIEW-TYPE QUESTIONS Is Parse::RecDescent LL(1)? LL(N)? LR(1)? LR(N)? Answer by Yves Orton: I have a data structure which is a hash of entries where an entry is a list/array of sets I have also a grammar...
Platforms: *nix
License: Freeware | Size: 77.82 KB | Download (99): Parse::RecDescent::FAQ Download |
Xephyrus File Upload Tag Library provides an easy way to process files uploaded from a web form from within JSP pages. It is a tag library wrapper around the Jakarta Commons FileUpload utility. Whats New in This Release: - added keepPath attribute to remotePath tag to indicate whether to keep...
Platforms: *nix
License: Freeware | Size: 25.6 KB | Download (125): Xephyrus File Upload Tag Library Download |