NAME
oo_sub - Use object-oriented versions of built-in Perl functions
SYNOPSIS
use oo_sub;
my $user = getpwnam('root');
print $user -> uid;
my $group = getgrgid(0);
say $group -> name; # use feature 'say';
say my $file = stat('.') -> ino;
printf "%s: %s", getprotobyname('tcp') -> proto, getservbyname('ftp') -> port;
say Dumper getnetbyname('loopback'); # use Data::Dumper;
p my $time = localtime('.'); # use DDP; (ie. Data::Printer)
DESCRIPTION
Perl pragma to import the following modules to enable OOP in Perl for some built-in functions:
Uses autoload_remote
> to achieve this.
AUTHOR
Elvin Aslanov <rwp.primary@gmail.com|mailto: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
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 94:
L<> starts or ends with whitespace