/usr/share/perl5/Net/Twitter/OAuth.pm is in libnet-twitter-perl 4.01043-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | package Net::Twitter::OAuth;
$Net::Twitter::OAuth::VERSION = '4.01043';
use Moose;
extends 'Net::Twitter::Core';
with map "Net::Twitter::Role::$_", qw/Legacy OAuth/;
no Moose;
__PACKAGE__->meta->make_immutable;
1;
__END__
=head1 NAME
Net::Twitter::OAuth - Net::Twitter with 'Legacy' and 'OAuth' roles for backwards compatibility
=head1 VERSION
version 4.01043
=head1 SYNOPSIS
use Net::Twitter;
my $nt = Net::Twitter::OAuth->new(consumer_key => $key, consumer_secret => $secret);
=head1 DESCRIPTION
This module simply creates an instance of C<Net::Twitter> with the C<Legacy>
and C<OAuth> traits applied. It is provided as a transparent backwards
compatibility layer for earlier versions of Net::Twitter::OAuth which
subclassed Net::Twitter.
See L<Net::Twitter> and L<Net::Twitter::Role::OAuth> for full documentation.
=head1 DEPRECATION NOTICE
This module is deprecated. Use L<Net::Twitter> instead.
use Net::Twitter;
# Just the REST API; exceptions thrown on error
$nt = Net::Twitter->new(traits => [qw/API::RESTv1_1 OAuth/]);
# Just the REST API; errors wrapped - use $nt->get_error
$nt = Net::Twitter->new(traits => [qw/API::RESTv1_1 WrapError/]);
# Or, for code that uses legacy Net::Twitter idioms
$nt = Net::Twitter->new(traits => [qw/Legacy OAuth/]);
=head1 METHODS
=over 4
=item new
Creates a C<Net::Twitter> object with the C<Legacy> and C<OAuth> traits. See
L<Net::Twitter/new> for C<new> options.
=back
=head1 SEE ALSO
L<Net::Twitter>, L<Net::Twitter::Role::OAuth>
=head1 AUTHORS
Marc Mims <marc@questright.com>
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
=head1 LICENSE
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
=cut
|