This variant of the standard search() method returns a ResultSet of Device Module entries. It is written to support web forms which accept fields that match and locate Device Modules in the database.
search()
The hashref parameter should contain fields from the Device Module table which will be intelligently used in a search query.
In addition, you can provide the key matchall which, given a True or False value, controls whether fields must all match or whether any can match, to select a row.
matchall
Supported keys:
If a True value, fields must all match to return a given row of the Device table, otherwise any field matching will cause the row to be included in results.
Can match the description field as a substring.
description
Can match the name field as a substring.
name
Can match the type field as a substring.
type
Can match the model field as a substring.
model
Can match the serial field as a substring.
serial
Will match exactly the class field.
class
List of Device IPs containing modules.
To install App::Netdisco, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Netdisco
CPAN shell
perl -MCPAN -e shell install App::Netdisco
For more information on module installation, please visit the detailed CPAN module installation guide.