File: 08_prune.pl

package info (click to toggle)
liborlite-perl 1.44-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 348 kB
  • ctags: 182
  • sloc: perl: 2,726; sql: 36; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 329 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/perl

# Create an ORLite class, passing through all command line parameters

use strict;

our $VERSION = '1.44';

unless ( $ORLite::VERSION eq $VERSION ) {
	die('Failed to load correct ORLite version');
}

unless ( Foo->can('sqlite') ) {
	die('Failed to generate Foo package');
}

package Foo;

use ORLite +{ @ARGV };