Plift
    
    
  
  
  
view release on metacpan or search on metacpan
Revision history for Perl extension Plift
0.15 2016-10-27T14:24:18Z
    * replaced Scalar::Util by Ref::Util
    * context get() method now tries to find a hash key when
      it doesn't find a method on blessed targets.
    * fixed the current path shown on error messages
0.14 2016-10-26T23:17:39Z
    * new context methods 'abort' and 'is_aborted'
      - call abort to stop any further processing
0.13 2016-10-17T18:30:10Z
            "Test::Pod" : "1.41",
            "Test::Spellunker" : "v0.2.7"
         }
      },
      "runtime" : {
         "requires" : {
            "Class::Load" : "0",
            "JSON" : "0",
            "Moo" : "0",
            "Path::Tiny" : "0",
            "Ref::Util" : "0",
            "URI" : "0",
            "XML::LibXML::jQuery" : "0.08",
            "namespace::clean" : "0",
            "perl" : "5.008001"
         }
      },
      "test" : {
         "requires" : {
            "Test::Exception" : "0.43",
            "Test::More" : "0.98"
    file: lib/Plift/Handler/Render.pm
  Plift::Handler::Snippet:
    file: lib/Plift/Handler/Snippet.pm
  Plift::Handler::Wrap:
    file: lib/Plift/Handler/Wrap.pm
requires:
  Class::Load: '0'
  JSON: '0'
  Moo: '0'
  Path::Tiny: '0'
  Ref::Util: '0'
  URI: '0'
  XML::LibXML::jQuery: '0.08'
  namespace::clean: '0'
  perl: '5.008001'
resources:
  bugtracker: https://github.com/cafe01/template-plift/issues
  homepage: https://github.com/cafe01/template-plift
  repository: git://github.com/cafe01/template-plift.git
version: '0.15'
x_authority: cpan:CAFEGRATZ
on 'test' => sub {
    requires 'Test::More', '0.98';
    requires 'Test::Exception', '0.43';
};
requires 'Moo';
requires 'URI';
requires 'namespace::clean';
requires 'Class::Load';
requires 'Path::Tiny';
requires 'Ref::Util';
requires 'JSON';
requires 'XML::LibXML::jQuery', '0.08';
lib/Plift/Context.pm view on Meta::CPAN
package Plift::Context;
use Moo;
use Carp;
use XML::LibXML::jQuery;
use JSON 'to_json';
use Encode 'encode';
use namespace::clean;
use Ref::Util qw/ is_hashref is_blessed_ref /;
has 'helper', is => 'ro';
has 'wrapper', is => 'ro';
has 'template', is => 'ro', required => 1;
has 'encoding', is => 'ro', default => 'UTF-8';
has 'loop_var', is => 'ro', default => 'loop';
has 'metadata_key', is => 'ro', default => 'meta';
has 'handlers', is => 'ro', default => sub { [] };
has 'active_handlers', is => 'rw';
( run in 0.359 second using v1.01-cache-2.11-cpan-c333fce770f )