GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  BBS::USERINFO::SOB (3)

.ds Aq ’

NAME

BBS::UserInfo::SOB - Get user information of SOB-style BBS

CONTENTS

SYNOPSIS



    use BBS::UserInfo::SOB;

    my $foo = BBS::UserInfo::SOB->new(
            debug => 1,
            port => 23,
            server => birdnest.twbbs.org,
            telnet => /usr/bin/telnet,
            timeout => 10
            );

    # connect to the server
    $bot->connect() or die(Unable to connect BBS);

    my $userdata = $bot->query(username);

    # print some data
    print($userdata->{logintimes});



FUNCTIONS

new()

Create a BBS::UserInfo::SOB object, there are some parameters that you can define:



    server => birdnest.twbbs.org      # Necessary, server name
    port => 23                          # Optional, server port
    telnet => telnet                  # Optional, telnet program
    timeout => 10                       # Optional, Expect timeout
    debug => 1                          # Optional, print debug information



connect()

Connect to the BBS server.

query()

Query user information and return a hash reference with:
o nickname
o logintimes
o posttimes
o lastlogintime
o lastloginip

AUTHOR

Gea-Suan Lin, <gslin at gslin.org>

COPYRIGHT & LICENSE

Copyright 2006 Gea-Suan Lin, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 SOB (3) 2006-08-20

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.