|
PTools::SDF::File::AutoView - Load NIS+ auto.view data into an indexable PTools::SDF::SDF object. |
PTools::SDF::File::AutoView - Load NIS+ auto.view data into an indexable PTools::SDF::SDF object.
This document describes version 0.01, released Jan 30, 2003.
If MapFile is passed it is assumed to be a variation of the auto.view or auto.view_* pattern.
If DataList is passed it is assumed to be an array of entries in auto.view file format, one line per entry. Otherwise this module runs a ``ypcat -k auto.view''.
use PTools::SDF::File::AutoView;
$autoviewObj = new PTools::SDF::File::AutoView;
$autoviewObj = new PTools::SDF::File::AutoView( "auto.view_cup2" );
All of the methods available in classes listed in the INHERITANCE section, below, are available in this module. These provide for sorting, indexing and accessing the data in objects of this class.
In addition the following two methods are defined for convenience when the number of users on a given machine is desired.
$count = $autoviewObj->countUsersOnServer( "homesvr1" );
This module depends on the following classes.
PTools::SDF::IDX, PTools::SDF::ARRAY, PTools::SDF::SDF and PTools::SDF::File.
This class inherits from both PTools::SDF::IDX and PTools::SDF::ARRAY. The PTools::SDF::ARRAY class inherits from PTools::SDF::SDF which, in turn, inherits from PTools::SDF::File.
For additional methods see the PTools::SDF::IDX manpage, the PTools::SDF::ARRAY manpage, the PTools::SDF::SDF manpage and the PTools::SDF::File manpage.
Chris Cobb, <nospamplease@ccobb.net>
Copyright (c) 2002-2007 by Chris Cobb. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|
PTools::SDF::File::AutoView - Load NIS+ auto.view data into an indexable PTools::SDF::SDF object. |