#!/usr/bin/perl -T use Bufferlass; use lib '/home/pgcroft/sites/bufferlass.org.uk/trunk/src/'; use strict; use warnings; ## The Instance script ## can contain ## new(), run(), ## new make take the params TMPL_PATH, QUERY, PARAMS as hashes of values ## e.g. TMPL_PATH => 'MyApp/' ## QUERY is an already existing CGI query object ## PARAMS => { 'custom_thing_1' => 1, 'custom_thing_2' => '20', 'another' => qw/123 456/ } my $bufferlass = Bufferlass->new(); $bufferlass->run();