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
Sys::Info::Base(3) User Contributed Perl Documentation Sys::Info::Base(3)

Sys::Info::Base

version 0.7807

    use base qw(Sys::Info::Base);
    #...
    sub foo {
        my $self = shift;
        my $data = $self->slurp("/foo/bar.txt");
    }

Includes some common methods.

Sys::Info::Base - Base class for Sys::Info

Loads the module named with "CLASS".

Loads the specified class via "TEMPLATE":

    my $class = __PACKAGE__->load_subclass('Sys::Info::Driver::%s::OS');

%s will be replaced with "OSID". Apart from the template usage, it is the same as "load_module".

Returns the trimmed version of "STRING".

Caches all contents of "FILE" into a scalar and then returns it.

Caches all contents of "FILE" into an array and then returns it.

Converts "DATE_STRING" into unix timestamp.

Returns a hashref built from "POSIX::uname".

Sys::Info.

Burak Gursoy <burak@cpan.org>

This software is copyright (c) 2006 by Burak Gursoy.

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

2018-12-25 perl v5.32.1

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

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