inspect: Add support for Linux Mint and Mandriva.
[libguestfs.git] / perl / examples / README
1 This directory contains various example programs which use the perl
2 Sys::Guestfs bindings to the libguestfs API.
3
4 As they are examples, these are licensed so they can be freely copied
5 and used without any restrictions.
6
7 Tips:
8
9 (1) To enable verbose messages, set environment variable LIBGUESTFS_DEBUG=1
10
11 (2) To run a program without installing the library, set PERL5LIB and
12 LIBGUESTFS_PATH as in this example (if run from the root directory of
13 the source distribution):
14
15   LIBGUESTFS_PATH=$(pwd)/appliance \
16   PERL5LIB=$(pwd)/perl/blib/lib:$(pwd)/perl/blib/arch/auto/Sys/Guestfs \
17   perl/examples/foo