Tie::FileSystem::System - Helper functions for reading in and processing of system files in the Tie::FileSystem framework.
This module is not used separately from Tie::FileSystem.
Tie::FileSystem represents file system as a Perl hash. Each hash key corresponds to name of a directory or a file. For example, for a file "/etc/passwd" it will be $data{'etc'}{'passwd'}. Contents of the file "/etc/passwd" becomes a value corresponding to the $data{'etc'}{'passwd'}.
Standard handling procedure for directories is to store a listing of files in the directory as keys. Standard procedure for files is to store a contents of the file in the scalar value.
For certain files with known structure it is possible to define subroutines for special handling. Tie::FileSystem::System" defines subroutines for handling system files and, for starters, has 'passwd' handling subroutine. "/etc/passwd" can be represented asa hash with following structure: $data{'etc'}{'passwd'}{$username}{$field}.
This modules is used internally by Tie::FileSystem.
None known.
Vadim V. Kouevda, initdotd@gmail.com
Copyright (c) 2003-2007, Vadim V. Kouevda, "KAITS, Inc."
This library is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
These terms are your choice of any of (1) the Perl Artistic Licence, or (2) version 2 of the GNU General Public License as published by the Free Software Foundation, or (3) any later version of the GNU General Public License.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this library program; it should be in the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
For licensing inquiries, contact the author at initdotd@gmail.com
Module comes with ABSOLUTELY NO WARRANTY. For details, see the license.
The latest version can be obtained from CPAN
Tie::FileSystem(3)
To install Tie::FileSystem, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tie::FileSystem
CPAN shell
perl -MCPAN -e shell install Tie::FileSystem
For more information on module installation, please visit the detailed CPAN module installation guide.