SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Web-Simple rpm build for : openSUSE Tumbleweed. For other distributions click perl-Web-Simple.

Name : perl-Web-Simple
Version : 0.033 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 1.66 Date : 2024-08-05 18:09:33
Group : Unspecified Source RPM : perl-Web-Simple-0.033-1.66.src.rpm
Size : 0.14 MB
Packager : (none)
Summary : Quick and easy way to build simple web applications
Description :
The philosophy of Web::Simple is to keep to an absolute bare minimum for
everything. It is not designed to be used for large scale applications; the
Catalyst web framework already works very nicely for that and is a far more
mature, well supported piece of software.

However, if you have an application that only does a couple of things, and
want to not have to think about complexities of deployment, then
Web::Simple might be just the thing for you.

The only public interface the Web::Simple module itself provides is an
\'import\' based one:

use Web::Simple \'NameOfApplication\';

This sets up your package (in this case \"NameOfApplication\" is your
package) so that it inherits from Web::Simple::Application and imports
strictures, as well as installs a \'PSGI_ENV\' constant for convenience, as
well as some other subroutines.

Importing strictures will automatically make your code use the \'strict\' and
\'warnings\' pragma, so you can skip the usual:

use strict;
use warnings FATAL => \'all\';

provided you \'use Web::Simple\' at the top of the file. Note that we turn on
*fatal* warnings so if you have any warnings at any point from the file
that you did \'use Web::Simple\' in, then your application will die. This is,
so far, considered a feature.

When we inherit from Web::Simple::Application we also use Moo, which is the
the equivalent of:

{
package NameOfApplication;
use Moo;
extends \'Web::Simple::Application\';
}

So you can use Moo features in your application, such as creating
attributes using the \'has\' subroutine, etc. Please see the documentation
for Moo for more information.

It also exports the following subroutines for use in dispatchers:

response_filter { ... };

redispatch_to \'/somewhere\';

Finally, import sets

$INC{\"NameOfApplication.pm\"} = \'Set by \"use Web::Simple;\" invocation\';

so that perl will not attempt to load the application again even if

require NameOfApplication;

is encountered in other code.

One important thing to remember when using

NameOfApplication->run_if_script;

At the end of your app is that this call will create an instance of your
app for you automatically, regardless of context. An easier way to think of
this would be if the method were more verbosely named

NameOfApplication->run_request_if_script_else_turn_coderef_for_psgi;

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-W/openSUSE_Tumbleweed/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Web-Simple-0.033-1.66.noarch.rpm
     

Provides :
perl(CSS::Declare)
perl(CSS::Declare::Unex)
perl(HTML::Tags)
perl(Plack::Middleware::Dispatch)
perl(Web::Dispatch)
perl(Web::Dispatch::HTTPMethods)
perl(Web::Dispatch::HTTPMethods::Endpoint)
perl(Web::Dispatch::Node)
perl(Web::Dispatch::NotAnUpload)
perl(Web::Dispatch::ParamParser)
perl(Web::Dispatch::Parser)
perl(Web::Dispatch::Predicates)
perl(Web::Dispatch::ToApp)
perl(Web::Dispatch::Upload)
perl(Web::Dispatch::Wrapper)
perl(Web::Simple)
perl(Web::Simple::Application)
perl(Web::Simple::Role)
perl(XML::Tags)
perl(XML::Tags::StringThing)
perl(XML::Tags::TIEHANDLE)
perl(XML::Tags::Unex)
perl-Web-Simple

Requires :
perl(:MODULE_COMPAT_5.40.0)
perl(HTTP::Body) >= 1.22
perl(Moo) >= 0.009014
perl(Plack) >= 0.9968
perl(Syntax::Keyword::Gather) >= 1.001
perl(strictures) >= 1
perl(warnings::illegalproto)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.40.0/CSS
/usr/lib/perl5/vendor_perl/5.40.0/CSS/Declare.pm
/usr/lib/perl5/vendor_perl/5.40.0/HTML
/usr/lib/perl5/vendor_perl/5.40.0/HTML/Tags.pm
/usr/lib/perl5/vendor_perl/5.40.0/Plack
/usr/lib/perl5/vendor_perl/5.40.0/Plack/Middleware
/usr/lib/perl5/vendor_perl/5.40.0/Plack/Middleware/Dispatch.pm
/usr/lib/perl5/vendor_perl/5.40.0/Web
/usr/lib/perl5/vendor_perl/5.40.0/Web/Dispatch
/usr/lib/perl5/vendor_perl/5.40.0/Web/Dispatch.pm
/usr/lib/perl5/vendor_perl/5.40.0/Web/Dispatch/HTTPMethods.pm
/usr/lib/perl5/vendor_perl/5.40.0/Web/Dispatch/Node.pm
/usr/lib/perl5/vendor_perl/5.40.0/Web/Dispatch/ParamParser.pm
/usr/lib/perl5/vendor_perl/5.40.0/Web/Dispatch/Parser.pm
/usr/lib/perl5/vendor_perl/5.40.0/Web/Dispatch/Predicates.pm
/usr/lib/perl5/vendor_perl/5.40.0/Web/Dispatch/ToApp.pm
/usr/lib/perl5/vendor_perl/5.40.0/Web/Dispatch/Upload.pm
/usr/lib/perl5/vendor_perl/5.40.0/Web/Dispatch/Wrapper.pm
/usr/lib/perl5/vendor_perl/5.40.0/Web/Simple
/usr/lib/perl5/vendor_perl/5.40.0/Web/Simple.pm
/usr/lib/perl5/vendor_perl/5.40.0/Web/Simple/AntiquatedPerl.pod
/usr/lib/perl5/vendor_perl/5.40.0/Web/Simple/Application.pm
/usr/lib/perl5/vendor_perl/5.40.0/Web/Simple/Deployment.pod
/usr/lib/perl5/vendor_perl/5.40.0/Web/Simple/HackedPlack.pm
/usr/lib/perl5/vendor_perl/5.40.0/Web/Simple/Role.pm
/usr/lib/perl5/vendor_perl/5.40.0/XML
/usr/lib/perl5/vendor_perl/5.40.0/XML/Tags.pm
/usr/share/doc/packages/perl-Web-Simple
/usr/share/doc/packages/perl-Web-Simple/Changes
/usr/share/doc/packages/perl-Web-Simple/README
There is 20 files more in these RPM.

 
ICM