• MORE:
  • Perl Camel
  • rss
  • GitHub logo
Perl.com
  •   ABOUT
  •   AUTHORS
  •   CATEGORIES
  • #
      TAGS

Parsing data couldn't be easier with XML::Dataset

May 9, 2014 by David Farrell

data
cpan
xml
data
parse

So simple a llama could do it

Read it

3 ways to include data with your Perl distribution

Feb 7, 2014 by David Farrell

data
configuration
module
__data__

TIMTOWDI

Read it

Solve almost any datetime need with Time::Piece

Jan 10, 2014 by David Farrell

data
module
date
time
datetime
strptime
strftime

How to parse, print, format, compare and do math with datetimes in Perl

Read it

How to Load YAML Config Files

Sep 17, 2013 by David Farrell

data
configuration
config
yaml
libyaml

Reading YAML config files is easy with Perl

Read it

Read an entire file into a string

Apr 21, 2013 by David Farrell

data
file
filehandle
open
slurp

TIMTOWDI

Read it

Generating UML and Sequence Diagrams

Aug 3, 2006 by Phil Crow

data
diagramming-code
perl-and-java
sequence-diagrams
uml
uml-sequence

Imagine yourself in a meeting with management. You’re about to begin your third attempt to explain how to process online credit card payments. After a couple of sentences, you see some eyes glazing over. Someone says, “Perhaps you could…

Read it

Managing Rich Data Structures

Feb 16, 2006 by Dave Baker

data
data-persistence
dbm
data-structures
persistence
references

As a Perl beginner, I wrote many scripts that created text files to store snippets of data. Eventually I had hundreds of little text files in a data directory, each one holding one piece of information in the form…

Read it

Testing Files and Test Modules

Dec 8, 2005 by Phil Crow

data
file-testing
perl-test-modules
perl-testing
test-builder
test-builder-tester
test-files

For the last several years, there has been more and more emphasis on automated testing. No self-respecting CPAN author can post a distribution without tests. Yet some things are hard to test. This article explains how writing Test::Files gave…

Read it

Document Modeling with Bricolage

Nov 23, 2005 by David Wheeler

data
bricolage
cms-workflow
content-management
document-modeling
open-source-cms
dynamic-content

Previous Perl.com articles have reviewed where Bricolage fits into the universe of content management systems and worked through Bricolage installation and Bricolage configuration. Now it’s time to go through the steps required to model the structure of an existing…

Read it

An Introduction to Test::MockDBI

Jul 21, 2005 by Mark Leighton Fisher

data
database-testing
dbi-testing
mock-objects
perl-automated-testing
perl-testing
test-mockdbi

Prelude How do you test DBI programs: Without having to modify your current program code or environment settings? Without having to set up multiple test databases? Without separating your test data from your test code? With tests for every…

Read it

Massive Data Aggregation with Perl

May 5, 2005 by Fred Moyer

data
data-aggregation
data-warehousing
enterprise-perl
large-perl-systems
perl-rdf
perl-xml
sax-machines
officebusiness

This article is a case study of the use of Perl and XML/RDF technologies to channel disparate sources of data into a semi-structured repository. This repository helped to build structured OLAP warehouses by mining an RDF repository with SAX…

Read it

Symbol Table Manipulation

Mar 17, 2005 by Phil Crow

data
dynamic-variable-names
global-variables
no-strict
symbol-tables
symbolic-references

Having almost achieved the state of perfect laziness, one of my favorite modules is Class::DBI::mysql. It makes MySQL database tables seem like classes, and their rows like objects. This completely relieves me from using SQL in most cases. This…

Read it

Perl Code Kata: Testing Databases

Feb 10, 2005 by Stevan Little

data
database-testing
dbd-mock
dbi-testing
perl-code-kata
perl-exercises
perl-test-kata
perl-testing

Testing code that uses a database can be tricky. The most common solution is to set up a test database with test data and run your tests against this. This, of course, requires bookkeeping code to keep your test…

Read it

Embedded Databases

Sep 16, 2004 by Philipp Janert

data
berkeleydb
perl-databases
perl-dbi
phillip-janert
sqlite
tie-file

The expression “Embedded Database” requires an explanation. A “database” is an application that allows the targeted retrieval of stored data - a log-file is not a database. By “embedded” I mean a database that does not run in a…

Read it

Perl's Special Variables

Jun 18, 2004 by Dave Cross

data
file-handling
variables

One of the best ways to make your Perl code look more like … well, like Perl code - and not like C or BASIC or whatever you used before you were introduced to Perl - is to get…

Read it

Making Dictionaries with Perl

Mar 25, 2004 by Sean M. Burke

data
dictionaries
languages
linguistics
rtf
lingua

When you woke up this morning, the last thing you are likely to have thought is “If only I had a dictionary!” But there are thousands of languages on Earth that many people want to learn, but they can’t,…

Read it

Simple IO Handling with IO::All

Mar 11, 2004 by Ingy döt Net

data
filehandle
io

One of my favorite things about Perl is how flexible it is. When I don’t like something about the language, I don’t let it get me down. I just change the language! The secret to doing this lies in Perl…

Read it

Perl Slurp-Eaze

Nov 21, 2003 by Uri Guttman

data
slurp-slurping-file-io

One of the common Perl idioms is processing text files line by line: while( <FH> ) { do something with $_ } This idiom has several variants, but the key point is that it reads in only one line…

Read it

Database Programming with Perl

Oct 23, 2003 by Simon Cozens

data
databases
dbi
rdbms
relational-databases

An Embarrassing Confession I’d like to think that I’m a reasonably decent Perl programmer now. I’d like to think that I have a good grasp of how to solve relatively common problems in Perl. But, you know, it hasn’t…

Read it

Identifying Audio Files with MusicBrainz

Oct 3, 2003 by Paul Mison

data
cddb
freedb
mp3
music
musicbrainz

It’s quite possible to end up with digital music files that don’t have good information about what they are. Files that don’t have ID3 information can rely on paths for album information, for example, and that is lost easily. M3U…

Read it
« Older Posts
Newer Posts »
Page 2 of 3
Site Map
  • Home

  • About

  • Authors

  • Categories

  • Tags

Contact Us

To get in touch, send an email to perl.com-editor@perl.org, or submit an issue to perladvent/perldotcom on GitHub.

Perl Camel rss GitHub logo

License

This work is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.

Creative Commons License

Legal

Perl.com and the authors make no representations with respect to the accuracy or completeness of the contents of all work on this website and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. The information published on this website may not be suitable for every situation. All work on this website is provided with the understanding that Perl.com and the authors are not engaged in rendering professional services. Neither Perl.com nor the authors shall be liable for damages arising herefrom.