/usr/share/perl5/Poet.pm is in libpoet-perl 0.15-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 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | package Poet;
$Poet::VERSION = '0.15';
use Poet::Environment;
use Method::Signatures::Simple;
use strict;
use warnings;
method import ($class:) {
my $poet = Poet::Environment->current_env
or die "environment has not been initialized!";
$poet->importer->export_to_level( 1, @_ );
}
1;
__END__
=pod
=head1 NAME
Poet -- a modern Perl web framework for Mason developers
=head1 SYNOPSIS
% poet new MyApp
my_app/.poet_root
my_app/bin/app.psgi
...
% my_app/bin/run.pl
Running plackup --Reload ... --env development --port 5000
Watching ... for file updates.
HTTP::Server::PSGI: Accepting connections at http://0:5000/
=head1 DESCRIPTION
Poet is a modern Perl web framework designed especially for L<Mason|Mason>
developers. It uses L<PSGI|PSGI>/L<Plack|Plack> for server integration, Mason
for request routing and templating, and a selection of best-of-breed CPAN
modules for caching, logging and configuration.
=head1 FEATURES
=over
=item *
A common-sense L<directory hierarchy|Poet::Environment> for web development
=item *
A L<configuration system|Poet::Conf> that scales elegantly with multiple coders
and multiple layers (development/production)
=item *
Integration with L<Log4perl|Log::Log4perl> for logging, wrapped with
dead-simple configuration
=item *
Integration with L<CHI|CHI> for powerful and flexible caching
=item *
The power of L<Mason|Mason>, an object-oriented templating system, for request
routing and content generation
=item *
Easy access to common L<objects|Poet::Import/QUICK VARS> and
L<utilities|Poet::Import/UTILITIES> from anywhere in your application
=item *
Conventions and defaults based on the author's best practices from over fifteen
years of Perl web development; and
=item *
The freedom to L<override|Poet::Manual::Subclassing> just about any of Poet's
behaviors
=back
=head1 DOCUMENTATION
All documentation is indexed at L<Poet::Manual>.
=head1 SUPPORT
For now Poet will share a mailing list and IRC with Mason. The Mason mailing
list is C<mason-users@lists.sourceforge.net>; you must be
L<subscribed|https://lists.sourceforge.net/lists/listinfo/mason-users> to send
a message. The Mason IRC channel is L<#mason|irc://irc.perl.org/#mason>.
Bugs and feature requests will be tracked at RT:
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Poet
bug-poet@rt.cpan.org
The latest source code can be browsed and fetched at:
http://github.com/jonswar/perl-poet
git clone git://github.com/jonswar/perl-poet.git
=head1 ACKNOWLEDGEMENTS
Poet was originally designed and developed for the Digital Media group of the
Hearst Corporation, a diversified media company based in New York City. Many
thanks to Hearst for agreeing to this open source release. However, Hearst has
no direct involvement with this open source release and bears no responsibility
for its support or maintenance.
=head1 SEE ALSO
L<Mason|Mason>, L<Plack|Plack>, L<PSGI|PSGI>
=head1 AUTHOR
Jonathan Swartz <swartz@pobox.com>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Jonathan Swartz.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
|