Tie::FileSystem::SystemHelper functions for reading in and processing of system files in the Tie::FileSystem framework. | |
Download |
Tie::FileSystem::System Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Vadim V. Kouevda
- Publisher web site:
- http://search.cpan.org/~initdotd/
Tie::FileSystem::System Tags
Tie::FileSystem::System Description
Helper functions for reading in and processing of system files in the Tie::FileSystem framework. Tie::FileSystem::System is a Perl module with helper functions for reading in and processing of system files in the Tie::FileSystem framework.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}. Requirements: · Perl
Tie::FileSystem::System Related Software