App-Dapper

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

         }
      },
      "configure" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "6.88"
         }
      },
      "runtime" : {
         "requires" : {
            "CGI" : "0",
            "Data::Dumper" : "0",
            "Data::Dumper::HTML" : "0",
            "DateTime" : "1.52",
            "DateTime::Format::XSD" : "0",
            "Exporter" : "0",
            "ExtUtils::MakeMaker" : "0",
            "File::Find" : "0",
            "File::Monitor" : "0",
            "File::Path" : "0",
            "File::Spec::Functions" : "0",
            "FindBin" : "0",
            "Getopt::Mixed" : "0",

META.yml  view on Meta::CPAN

meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: App-Dapper
no_index:
  directory:
    - t
    - inc
requires:
  CGI: '0'
  Data::Dumper: '0'
  Data::Dumper::HTML: '0'
  DateTime: '1.52'
  DateTime::Format::XSD: '0'
  Exporter: '0'
  ExtUtils::MakeMaker: '0'
  File::Find: '0'
  File::Monitor: '0'
  File::Path: '0'
  File::Spec::Functions: '0'
  FindBin: '0'
  Getopt::Mixed: '0'

Makefile.PL  view on Meta::CPAN

        'ExtUtils::MakeMaker' => 6.88,
    },
    BUILD_REQUIRES => {
        'Test::More'                   => 0.98,
    },
    TEST_REQUIRES => {
        'YAML::PP'                     => 0,
    },
    PREREQ_PM => {
        'CGI'                          => 0,
        'Data::Dumper'                 => 0,
        'Data::Dumper::HTML'           => 0,
        'DateTime'                     => 1.52, 
        'DateTime::Format::XSD'        => 0,
        'Exporter'                     => 0,
        'ExtUtils::MakeMaker'          => 0,
        'File::Find'                   => 0,
        'File::Monitor'                => 0,
        'File::Path'                   => 0,
        'File::Spec::Functions'        => 0,
        'FindBin'                      => 0,
        'Getopt::Mixed'                => 0,

README.md  view on Meta::CPAN

```

Result:

```
Quick.Brown.Fox.
```

## Dumping

The `dump` directive inserts a Data::Dumper printout of the variable or 
expression. If no argument is passed it will dump the entire contents of the 
current variable stash (with private keys removed). The output also includes the 
current file and line number that the DUMP directive was called from. Example:

    [% dump %]      # dump everything
    [% dump site %] # dump everything in the site
    [% dump page %] # dump everything in the current page

# Deployment

bin/dapper  view on Meta::CPAN


use FindBin;
use lib "$FindBin::Bin/../lib";

use Pod::Usage;
use Getopt::Mixed;
use App::Dapper;
use File::Monitor;
use File::Find;

use Data::Dumper;

my $COMMAND = undef;
my $SOURCE  = "_source";
my $OUTPUT  = "_output";
my $LAYOUT  = "_layout";
my $CONFIG  = "_config.yml";
my $PORT    = 8000;
my $HELP    = undef;
my $VERSION = undef;

lib/App/Dapper.pm  view on Meta::CPAN

use Template::Constants qw( :debug );

use Text::MultiMarkdown 'markdown';

use Net::HTTPServer;

use YAML::PP qw/ Load Dump LoadFile DumpFile /;
use File::Spec::Functions qw/ canonpath /;
use File::Path qw(make_path);

use Data::Dumper;
$Data::Dumper::Indent = 1;
$Data::Dumper::Sortkeys = 1;

use DateTime;
use DateTime::Format::XSD;

use App::Dapper::Serve;
use App::Dapper::Init;
use App::Dapper::Utils;
use App::Dapper::Defaults;
use App::Dapper::Filters;

lib/App/Dapper/Filters.pm  view on Meta::CPAN

    {{ site.time | date_to_xmlschema }}

=cut

use utf8;
use open ':std', ':encoding(UTF-8)';
use 5.8.0;
use strict;
use warnings FATAL => 'all';

use Data::Dumper;
use CGI qw(:standard escapeHTML);

=head2 import

Called when this module is 'used' from somewhere else. This subroutine
registers Liquid filters contained in this file.

=cut

#sub import {

lib/App/Dapper/Serve.pm  view on Meta::CPAN


use utf8;
use open ':std', ':encoding(UTF-8)';
use 5.8.0;
use strict;
use warnings FATAL => 'all';

use POSIX;
use Unicode::Normalize;

use Data::Dumper::HTML qw(dumper_html);

my $webroot = '.';
my $dirindex = 'index.html';
 
sub kyloren {
    my ($self, $path) = @_;

    $webroot = $path;
    print "Webroot is: " . $webroot . "\n";
}



( run in 0.369 second using v1.01-cache-2.11-cpan-4d50c553e7e )