App-MFILE-WWW

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

        'JSON'           => 0,
        'Log::Any::Adapter' => 0,
        'LWP::UserAgent' => 0,
        'Params::Validate' => 1.06,
        'Plack::Builder' => 0,
        'Plack::Middleware::Session' => 0,
        'Plack::Middleware::StackTrace' => 0,
        'Plack::Middleware::Static' => 0,
        'Plack::Runner'  => 0,
        'Scalar::Util'   => 0,
        'Try::Tiny'      => 0,
        'Web::Machine'   => 0.15,
    },
    add_to_cleanup     => [ 'App-MFILE-WWW-*' ],
    create_makefile_pl => 'traditional',
);

$builder->create_build_script();

META.json  view on Meta::CPAN

            "JSON" : "0",
            "LWP::UserAgent" : "0",
            "Log::Any::Adapter" : "0",
            "Params::Validate" : "1.06",
            "Plack::Builder" : "0",
            "Plack::Middleware::Session" : "0",
            "Plack::Middleware::StackTrace" : "0",
            "Plack::Middleware::Static" : "0",
            "Plack::Runner" : "0",
            "Scalar::Util" : "0",
            "Try::Tiny" : "0",
            "Web::Machine" : "0.15",
            "perl" : "5.012"
         }
      }
   },
   "provides" : {
      "App::MFILE::WWW" : {
         "file" : "lib/App/MFILE/WWW.pm",
         "version" : "0.176"
      },

META.yml  view on Meta::CPAN

  JSON: 0
  LWP::UserAgent: 0
  Log::Any::Adapter: 0
  Params::Validate: 1.06
  Plack::Builder: 0
  Plack::Middleware::Session: 0
  Plack::Middleware::StackTrace: 0
  Plack::Middleware::Static: 0
  Plack::Runner: 0
  Scalar::Util: 0
  Try::Tiny: 0
  Web::Machine: 0.15
  perl: 5.012
resources:
  license: http://opensource.org/licenses/BSD-3-Clause
version: 0.176

Makefile.PL  view on Meta::CPAN

                   'Params::Validate' => '1.06',
                   'Plack::Builder' => 0,
                   'Plack::Middleware::Session' => 0,
                   'Plack::Middleware::StackTrace' => 0,
                   'Plack::Middleware::Static' => 0,
                   'Plack::Runner' => 0,
                   'Plack::Test' => 0,
                   'Scalar::Util' => 0,
                   'Test::Fatal' => 0,
                   'Test::JSON' => 0,
                   'Try::Tiny' => 0,
                   'Web::Machine' => '0.15'
                 },
  'INSTALLDIRS' => 'site',
  'EXE_FILES' => [
                   'bin/mfile-www'
                 ],
  'PL_FILES' => {}
)
;

bin/mfile-www  view on Meta::CPAN

use App::MFILE::WWW qw( $VERSION );
use Getopt::Long;
use File::Path qw( make_path remove_tree );
use File::ShareDir;
use File::Spec;
use Module::Load;
use Module::Runtime qw( is_module_name require_module );
use Plack::Builder;
use Plack::Runner;
use Plack::Session::Store::File;
use Try::Tiny;
use Web::Machine;
 



=head1 NAME

mfile-www - App::MFILE::WWW server startup script


lib/App/MFILE/WWW/Resource.pm  view on Meta::CPAN

use warnings;

use App::CELL qw( $CELL $log $meta $site );
use Data::Dumper;
use Encode qw( decode_utf8 encode_utf8 );
use File::Temp qw( tempfile );
use HTTP::Request::Common qw( GET PUT POST DELETE );
use JSON;
use LWP::UserAgent;
use Params::Validate qw(:all);
use Try::Tiny;

# methods/attributes not defined in this module will be inherited from:
use parent 'Web::Machine::Resource';

# user agent lookup table
our $ualt = {};



=head1 NAME



( run in 0.320 second using v1.01-cache-2.11-cpan-05444aca049 )