NAME

oo_sub - Use object-oriented versions of built-in Perl functions

SYNOPSIS

use oo_sub;

say p my $user = getpwnam('root');

say p my $group = getgrgid(0);

say p my $file = stat('.');

say p my $time = localtime('.');

say p my $network = getnetbyname('loopback');

say p my $protocol = getprotobyname('tcp');

say p my $service = getservbyname('ftp');

DESCRIPTION

Perl pragma to import the following modules to enable OOP in Perl for some built-in functions:

User::pwent
User::grent
File::stat
Time::Piece
Net::netent
Net::protoent
Net::servent

Uses autoload_remote to achieve this.

AUTHOR

Elvin Aslanov <rwp.primary@gmail.com>

COPYRIGHT

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

SEE ALSO

User::pwent, File::stat, Time::Piece, Module:Load