The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::FileMaker::XML - Interact with FileMaker Server's XML Interface.

SYNOPSIS

This module provides the interface for communicating with FileMaker Server's XML service.

You can simply invoke Net::FileMaker directly and specify the 'type' key in the constructor as "xml":

    use Net::FileMaker;
    
    my $fms = Net::FileMaker->new(host => $host, type => 'xml');

It's also possible to call this module directly:

    use Net::FileMaker::XML;

    my $fms = Net::FileMaker::XML->new(host => $host);

    my $dbnames = $fms->dbnames;
    my $fmdb = $fms->database(db => $db, user => $user, pass => $pass);

METHODS

new(host => $host)

Creates a new object. The specified must be a valid address or host name.

database(db => $database, user => $user, pass => $pass)

Initiates a new database object for querying data in the databse.

dbnames

Returns an arrayref containing all XML/XSLT enabled databases for a given host. This method requires no authentication.

COMPATIBILITY

This distrobution is actively tested against FileMaker Advanced Server 10.0.1.59 and 11.0.1.95. Older versions are not tested at present, but feedback is welcome. See the messages present in the test suite on how to setup tests against your server.

SEE ALSO

Net::FileMaker::XML::Database