NewFangle

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

         "recommends" : {
            "Cpanel::JSON::XS" : "0"
         },
         "requires" : {
            "FFI::C" : "0.08",
            "FFI::C::Util" : "0",
            "FFI::CheckLib" : "0.28",
            "FFI::Platypus" : "1.26",
            "FFI::Platypus::Memory" : "0",
            "JSON::MaybeXS" : "0",
            "Ref::Util" : "0",
            "perl" : "5.014"
         }
      },
      "test" : {
         "requires" : {
            "Test2::Tools::AsyncSubtest" : "0",
            "Test2::Tools::JSON::Pointer" : "0",
            "Test2::V0" : "0.000121",
            "YAML" : "0",
            "perl" : "5.014"

META.yml  view on Meta::CPAN

name: NewFangle
recommends:
  Cpanel::JSON::XS: '0'
requires:
  FFI::C: '0.08'
  FFI::C::Util: '0'
  FFI::CheckLib: '0.28'
  FFI::Platypus: '1.26'
  FFI::Platypus::Memory: '0'
  JSON::MaybeXS: '0'
  Ref::Util: '0'
  perl: '5.014'
resources:
  IRC: irc://irc.perl.org/#native
  bugtracker: https://github.com/uperl/NewFangle/issues
  homepage: https://metacpan.org/pod/NewFangle
  repository: git://github.com/uperl/NewFangle.git
version: '0.09'
x_contributors:
  - 'Graham Ollis <plicease@cpan.org>'
  - 'Owen Allsopp (ALLSOPP)'

Makefile.PL  view on Meta::CPAN

    "lib/NewFangle/Segment.pm"     => "\$(INST_LIB)/NewFangle/Segment.pm",
    "lib/NewFangle/Transaction.pm" => "\$(INST_LIB)/NewFangle/Transaction.pm"
  },
  "PREREQ_PM" => {
    "FFI::C"                => "0.08",
    "FFI::C::Util"          => 0,
    "FFI::CheckLib"         => "0.28",
    "FFI::Platypus"         => "1.26",
    "FFI::Platypus::Memory" => 0,
    "JSON::MaybeXS"         => 0,
    "Ref::Util"             => 0
  },
  "TEST_REQUIRES" => {
    "Test2::Tools::AsyncSubtest"  => 0,
    "Test2::Tools::JSON::Pointer" => 0,
    "Test2::V0"                   => "0.000121",
    "YAML"                        => 0
  },
  "VERSION" => "0.09",
  "test"    => {
    "TESTS" => "t/*.t"
  }
);

my %FallbackPrereqs = (
  "FFI::C"                      => "0.08",
  "FFI::C::Util"                => 0,
  "FFI::CheckLib"               => "0.28",
  "FFI::Platypus"               => "1.26",
  "FFI::Platypus::Memory"       => 0,
  "JSON::MaybeXS"               => 0,
  "Ref::Util"                   => 0,
  "Test2::Tools::AsyncSubtest"  => 0,
  "Test2::Tools::JSON::Pointer" => 0,
  "Test2::V0"                   => "0.000121",
  "YAML"                        => 0
);

# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.040
if ( do { require './lib/NewFangle/Lib.pm'; !NewFangle::Lib->lib } ) {
  requires( 'Alien::libnewrelic', '0.06' );
}

lib/NewFangle/Transaction.pm  view on Meta::CPAN

package NewFangle::Transaction 0.09 {

  use strict;
  use warnings;
  use 5.014;
  use NewFangle::FFI;
  use NewFangle::Segment;
  use FFI::Platypus::Memory ();
  use Ref::Util qw( is_blessed_ref );
  use JSON::MaybeXS ();
  use Carp ();

# ABSTRACT: NewRelic application class


  sub _segment
  {
    my $xsub = shift;
    my $txn = shift;

t/00_diag.t  view on Meta::CPAN

  ExtUtils::MakeMaker
  FFI::C
  FFI::C::Util
  FFI::CheckLib
  FFI::Platypus
  FFI::Platypus::Memory
  FFI::Platypus::Type::PtrObject
  JSON::MaybeXS
  JSON::PP
  JSON::XS
  Ref::Util
  Test2::Tools::AsyncSubtest
  Test2::Tools::JSON::Pointer
  Test2::V0
  YAML
);

$post_diag = sub {
  eval {
    require NewFangle::Lib;
    diag 'lib              = ', $_ for NewFangle::FFI::_lib();



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