Johan Van den Brande > Win32-Palm-Install > Win32::Palm::Install::UsersDat

Download:
Win32-Palm-Install-0.3.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Win32::Palm::Install::UsersDat - Parser for the users.dat file for Palm

VERSION ^

This document refers to version 0.2 of Win32::Palm::Install::UsersDat, released 25 september 2001.

SYNOPSIS ^

        use Win32::Palm::Install::UsersDat;
        my $ud = Win32::Palm::Install::UsersDat->new( 'c:\Palm\users.dat' );

        foreach my $ue ( $ud->get_UserEntry() ) {
                print $ue->get_LongName . "\n";
                map {
                        my $func = "get_$_";
                        print "\t" . lc($_) . ": " . $ue->$func() . "\n";
                } qw( HotsyncID DirName Active Password );
        }

DESCRIPTION ^

Based upon the text found on: http://www.geocities.com/Heartland/Acres/3216/users_dat.htm

Will parse a users.dat file and extract some information out of it. Only user information is extracted for the moment!

Constructor and initialisation

        Win32::Palm::Install::UserDat->new( $filename );

Class and Object methods

        my $ud = Win32::Palm::Install::UserDat->new( $filename );

        $ud->get_UserCount()
        
        @UserEntries = $ud->get_UserEntry()
        $UserEntry = $ud->get_UserEntry($index)

FILES ^

        Win32::Palm::Install::UsersDat::UserEntry

AUTHOR ^

Johan Van den Brande <johan@vandenbrande.com>

COPYRIGHT ^

Copyright (c) 2001, Johan Van den Brande. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.

syntax highlighting: