Searching a module

A program accesses an EMu module (or table, the terms are used interchangeably) using the IMu::Module class. The name of the table to be accessed is passed to the IMu::Module constructor. For example:

use IMu::Module;
# ⋯
my $parties = IMu::Module->new('eparties', $session);

This code assumes that a IMu::Session object called session has already been created. If a IMu::Session object is not passed to the IMu::Module constructor, a session will be created automatically using the defaultHost and defaultPort class properties. See Connecting to an IMu server for details.

Once a IMu::Module object has been created, it can be used to search the specified module and retrieve records.

Any one of the following methods can be used to search for records within a module: