App-MFILE-WWW

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

        dist => [ 'share' ],
    },
    script_files         => [
        'bin/mfile-www',
    ],
    configure_requires => {
        'Module::Build'  => 0,
    },
    build_requires => {
        'App::CELL'      => 0.222,
        'HTTP::Request'  => 0,
        'Plack::Test'    => 0,
        'Scalar::Util'   => 0,
        'Test::Fatal'    => 0,
        'Test::JSON'     => 0,
    },
    requires => {
        'perl'           => 5.012,
        'App::CELL'      => 0.222,
        'Getopt::Long'   => 0,
        'File::ShareDir' => 0,

META.json  view on Meta::CPAN

   ],
   "meta-spec" : {
      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
      "version" : "2"
   },
   "name" : "App-MFILE-WWW",
   "prereqs" : {
      "build" : {
         "requires" : {
            "App::CELL" : "0.222",
            "HTTP::Request" : "0",
            "Plack::Test" : "0",
            "Scalar::Util" : "0",
            "Test::Fatal" : "0",
            "Test::JSON" : "0"
         }
      },
      "configure" : {
         "requires" : {
            "Module::Build" : "0"
         }

META.yml  view on Meta::CPAN

---
abstract: 'Web UI development toolkit with prototype demo app'
author:
  - 'Nathan Cutler <ncutler@suse.cz>'
build_requires:
  App::CELL: 0.222
  HTTP::Request: 0
  Plack::Test: 0
  Scalar::Util: 0
  Test::Fatal: 0
  Test::JSON: 0
configure_requires:
  Module::Build: 0
dynamic_config: 1
generated_by: 'Module::Build version 0.4003, CPAN::Meta::Converter version 2.120921'
license: bsd
meta-spec:

Makefile.PL  view on Meta::CPAN

use ExtUtils::MakeMaker;
WriteMakefile
(
  'NAME' => 'App::MFILE::WWW',
  'VERSION_FROM' => 'lib/App/MFILE/WWW.pm',
  'PREREQ_PM' => {
                   'App::CELL' => '0.222',
                   'File::ShareDir' => '1.00',
                   'File::Temp' => 0,
                   'Getopt::Long' => 0,
                   'HTTP::Request' => 0,
                   '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,
                   'Plack::Test' => 0,

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


package App::MFILE::WWW::Resource;

use strict;
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 = {};



( run in 0.299 second using v1.01-cache-2.11-cpan-de7293f3b23 )