String-Bash

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

  'build_requires' => {
    'File::Find' => '0',
    'File::Temp' => '0',
    'Module::Build' => '0.3601',
    'Test::More' => '0',
    'Test::NoWarnings' => '0'
  },
  'configure_requires' => {
    'ExtUtils::MakeMaker' => '6.31',
    'Module::Build' => '0.3601',
    'PadWalker' => '0.99',
    'Regexp::Common' => '0',
    'Scalar::Util' => '1.22'
  },
  'dist_abstract' => 'Parameter expansion in strings',
  'dist_author' => [
    'Alex J. G. Burzyński <ajgb@cpan.org>'
  ],
  'dist_name' => 'String-Bash',
  'dist_version' => '1.110960',
  'license' => 'perl',
  'module_name' => 'String::Bash',
  'recommends' => {},
  'recursive_test_files' => 1,
  'requires' => {
    'PadWalker' => '0',
    'Regexp::Common' => '0',
    'Scalar::Util' => '0',
    'Sub::Exporter' => '0'
  },
  'script_files' => []
);


my $build = Module::Build->new(%module_build_args);

META.json  view on Meta::CPAN

   "prereqs" : {
      "build" : {
         "requires" : {
            "Module::Build" : "0.3601"
         }
      },
      "configure" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "6.31",
            "Module::Build" : "0.3601",
            "PadWalker" : "0.99",
            "Regexp::Common" : 0,
            "Scalar::Util" : "1.22"
         }
      },
      "runtime" : {
         "requires" : {
            "PadWalker" : 0,
            "Regexp::Common" : 0,
            "Scalar::Util" : 0,
            "Sub::Exporter" : 0
         }
      },
      "test" : {
         "requires" : {
            "File::Find" : 0,
            "File::Temp" : 0,
            "Test::More" : 0,

META.yml  view on Meta::CPAN

  - 'Alex J. G. Burzyński <ajgb@cpan.org>'
build_requires:
  File::Find: 0
  File::Temp: 0
  Module::Build: 0.3601
  Test::More: 0
  Test::NoWarnings: 0
configure_requires:
  ExtUtils::MakeMaker: 6.31
  Module::Build: 0.3601
  PadWalker: 0.99
  Regexp::Common: 0
  Scalar::Util: 1.22
dynamic_config: 0
generated_by: 'Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.102400'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: 1.4
name: String-Bash
requires:
  PadWalker: 0
  Regexp::Common: 0
  Scalar::Util: 0
  Sub::Exporter: 0
resources:
  bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=String-Bash
  homepage: http://search.cpan.org/dist/String-Bash
  repository: git://github.com/ajgb/string-bash.git
version: 1.110960
x_Dist_Zilla:
  plugins:

Makefile.PL  view on Meta::CPAN

  'BUILD_REQUIRES' => {
    'File::Find' => '0',
    'File::Temp' => '0',
    'Module::Build' => '0.3601',
    'Test::More' => '0',
    'Test::NoWarnings' => '0'
  },
  'CONFIGURE_REQUIRES' => {
    'ExtUtils::MakeMaker' => '6.31',
    'Module::Build' => '0.3601',
    'PadWalker' => '0.99',
    'Regexp::Common' => '0',
    'Scalar::Util' => '1.22'
  },
  'DISTNAME' => 'String-Bash',
  'EXE_FILES' => [],
  'LICENSE' => 'perl',
  'NAME' => 'String::Bash',
  'PREREQ_PM' => {
    'PadWalker' => '0',
    'Regexp::Common' => '0',
    'Scalar::Util' => '0',
    'Sub::Exporter' => '0'
  },
  'VERSION' => '1.110960',
  'test' => {
    'TESTS' => 't/*.t'
  }
);

dist.ini  view on Meta::CPAN

name    = String-Bash
author  = Alex J. G. Burzyński <ajgb@cpan.org>
license = Perl_5
copyright_holder = Alex J. G. Burzyński <ajgb@cpan.org>
copyright_year   = 2011

[@AJGB]
[Prereqs / ConfigureRequires]
PadWalker = 0.99
Scalar::Util = 1.22
Regexp::Common = 0

[AutoPrereqs]
[NextRelease]
time_zone = Europe/London
filename = Changes
format = %-9v %{yyyy-MM-dd HH:mm:ss}d

lib/String/Bash.pm  view on Meta::CPAN

BEGIN {
  $String::Bash::VERSION = '1.110960';
}
#ABSTRACT: Parameter expansion in strings

use Sub::Exporter -setup => {
    exports => [qw( bash )],
};

use Regexp::Common qw( balanced );
use PadWalker qw( peek_my peek_our );
use Scalar::Util qw( blessed );



sub bash($@) {
    my $format = shift;

    my $lookup;
    my $setter;



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