Code snippets
Moved to Database::Abstraction in CPAN. Use that - I'll remove this code from here soon.
Abstract class giving read-only access to CSV, XML and SQLite databases via Perl without writing any SQL. Usually all that's neeeded to access a database called 'bar' is a class declaration such as this:
package Foo::Bar;
# The bar database
use NJH::Snippets::DB;
our @ISA = ('NJH::Snippets::DB');
1;
and code such as this in the main program
use Foo::Bar;
my $foo = Foo::Bar->new(directory => "/var/lib/db/foo");
my $row = $foo->fetchrow_hashref(customer_id => '12345);
print Data::Dumper->new([$row])->Dump();
Short C program to show the different formatting options with printf.
Use addresses in a Gedcom to generate addresses to test Geo::Coder::Free:
Show where photographs were taken. It reads the GPS (geotag) information from a JPG and reverse geo-codes it to print the address.
Verify a tar or cpio archive written to a device such as a tape drive
Download and unpack the latest files from https://dist.whosonfirst.org/bundles/
Download and unpack the latest files from https://dist.whosonfirst.org/sqlite/
Copyright 2015-2024 Nigel Horne.
This program is released under the following licence: GPL2 for personal use on
a single computer.
All other users (for example Commercial, Charity, Educational, Government)
must apply in writing for a licence for use from Nigel Horne at <njh at nigelhorne.com>
.