1ORLite::Mirror(3)     User Contributed Perl Documentation    ORLite::Mirror(3)
2
3
4

NAME

6       ORLite::Mirror - Extend ORLite to support remote SQLite databases
7

SYNOPSIS

9         # Regular ORLite on a readonly SQLite database
10         use ORLite 'path/mydb.sqlite';
11
12         # The equivalent for a remote SQLite database
13         use ORLite::Mirror 'http://myserver/path/mydb.sqlite';
14
15         # You can read compressed SQLite databases as well
16         use ORLite::Mirror 'http://myserver/path/mydb.sqlite.gz';
17         use ORLite::Mirror 'http://myserver/path/mydb.sqlite.bz2';
18
19         (Of course you can only do one of the above)
20

DESCRIPTION

22       ORLite provides a readonly ORM API when it loads a readonly SQLite
23       database from your local system.
24
25       By combining this capability with LWP, ORLite::Mirror goes one step
26       better and allows you to load a SQLite database from any arbitrary URI
27       in readonly form as well.
28
29       As demonstrated in the synopsis above, you using ORLite::Mirror in the
30       same way, but provide a URL instead of a file name.
31
32       If the URL explicitly ends with a '.gz' or '.bz2' then ORLite::Mirror
33       will decompress the file before loading it.
34

SUPPORT

36       Bugs should be reported via the CPAN bug tracker at
37
38       http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ORLite-Mirror
39       <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ORLite-Mirror>
40
41       For other issues, contact the author.
42

AUTHOR

44       Adam Kennedy <adamk@cpan.org>
45
47       Copyright 2008 - 2010 Adam Kennedy.
48
49       This program is free software; you can redistribute it and/or modify it
50       under the same terms as Perl itself.
51
52       The full text of the license can be found in the LICENSE file included
53       with this module.
54
55
56
57perl v5.12.3                      2011-05-10                 ORLite::Mirror(3)
Impressum