Skip to content

Instantly share code, notes, and snippets.

View kentfredric's full-sized avatar
🤔

Kent Fredric kentfredric

🤔
View GitHub Profile
dev-perl/App-Cmd/App-Cmd-0.203.ebuild
dev-perl/Bundle-CPAN/Bundle-CPAN-1.857.ebuild
dev-perl/CPAN-DistnameInfo/CPAN-DistnameInfo-0.08.ebuild
dev-perl/CPAN-Uploader/CPAN-Uploader-0.091270.ebuild
dev-perl/CSS-Tiny/CSS-Tiny-1.15.ebuild
dev-perl/Carp-Always/Carp-Always-0.09.ebuild
dev-perl/Catalyst-Plugin-Log-Dispatch/Catalyst-Plugin-Log-Dispatch-0.10.ebuild
dev-perl/Config-INI-MVP/Config-INI-MVP-0.019.ebuild
dev-perl/Config-INI/Config-INI-0.014.ebuild
dev-perl/Context-Preserve/Context-Preserve-0.01.ebuild
@kentfredric
kentfredric / CodeA.pm
Created May 28, 2009 15:51
Strange Behaviour with B::Deparse
use strict;
use warnings;
use MooseX::Declare;
class CodeA {
require CodeB;
has 'someAttribute' => ( isa => 'Str');
}
# Failed test 'Build It'
# at t/dz2-provides.t line 21.
# died: file 'lib/DZ2.pm' does not exist at /usr/lib/perl5/vendor_perl/5.10.0/Mixin/Linewise/Readers.pm line 79
# Mixin::Linewise::Readers::__ANON__() called at /home/kent/perl/git/Dist-Zilla/lib/Dist/Zilla/Util.pm line 66
# Dist::Zilla::Util::abstract_from_file() called at /home/kent/perl/git/Dist-Zilla/lib/Dist/Zilla.pm line 103
# Dist::Zilla::__ANON__() called at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux/Class/MOP/Attribute.pm line 256
# Class::MOP::Attribute::default() called at accessor abstract defined at /home/kent/perl/git/Dist-Zilla/lib/Dist/Zilla.pm line 124
# Dist::Zilla::abstract() called at /home/kent/perl/git/Dist-Zilla/lib/Dist/Zilla/Plugin/MetaYAML.pm line 24
# Dist::Zilla::Plugin::MetaYAML::gather_files() called at /home/kent/perl/git/Dist-Zilla/lib/Dist/Zilla.pm line 414
# Dist::Zilla::build_in() called at t/dz2-provides.t line 19
#!/usr/bin/perl
use strict;
use warnings;
# You'll likely need to `install` this.
# But don't worry, its just a text file.
use File::Find::Rule ();
use Path::Class qw( file );
---
abstract: 'this is a sample package for testing Dist::Zilla;'
author:
- 'E. Xavier Ample <example@example.org>'
generated_by: 'Dist::Zilla::Plugin::MetaYAML version '
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: DZ2
package lib::relative;
# $Id:$
use strict;
use warnings;
use parent 'lib';
sub to {
my $self = shift;
(?-xism:dev-perl/DateManip) in swatch-3.1.1.ebuild
(?-xism:dev-perl/DateManip) in swatch-3.1.ebuild
(?-xism:dev-perl/DateManip) in swatch-3.2.1.ebuild
(?-xism:dev-perl/DateManip) in sleuthkit-2.09.ebuild
(?-xism:dev-perl/DateManip) in sleuthkit-3.0.0-r1.ebuild
(?-xism:dev-perl/DateManip) in sleuthkit-3.0.0.ebuild
(?-xism:dev-perl/DateManip) in sleuthkit-3.0.1.ebuild
(?-xism:dev-perl/DateManip) in tct-1.18-r1.ebuild
(?-xism:dev-perl/DateManip) in beancounter-0.8.6.ebuild
(?-xism:dev-perl/DateManip) in beancounter-0.8.7.ebuild
We couldn’t find that file to show.
>>> No ././test_pass_TEST_cleanup.sh to run
>>> No ././test_pass_TEST_setup.sh to run
>>> test ./test_pass_TEST
Test program ./test_pass_TEST:
* "test the test code: this should pass": ... OK (58ms)
(repeat): ... OK (0ms)
>>> No ././test_pass_TEST_cleanup.sh to run
>>> exiting with success for test ./test_pass_TEST
PASS: test_pass_TEST
>>> No ././test_fail_TEST_cleanup.sh to run
Example usage
perl stub.pl --author RAFL --version 0.01 --package Devel-Declare --description 'Something goes here'