=head1 NAME

Devel::PerlySense::Config::Project::Default - A Project's default configuration


This is the default config for a project, used whenever a proper
.PerlySenseProject with a project.yml couldn't be identified.


use strict;
use warnings;
use utf8;

package Devel::PerlySense::Config::Project::Default;
  $Devel::PerlySense::Config::Project::Default::VERSION = '0.0211';
use base "Devel::PerlySense::Config::Project";

use Data::Dumper;
use Carp;
use YAML::Tiny ();

use Devel::PerlySense;

=head1 METHODS

=head2 new()

Create new default Config object, with rhConfig set to the default.

Return the new object, or die, e.g. if the yaml contains syntax

sub new(@) {
    my $pkg = shift;

    my $self = $pkg->SUPER::new(@_);

    my $sourceConfig = $self->textConfigDefault;
    my ($rhConfig) = eval { YAML::Tiny::Load($sourceConfig) };
    $rhConfig or die($YAML::Tiny::errstr);


    return $self;



=encoding utf8

=head1 AUTHOR

Johan Lindström, C<< <johanl[ÄT]DarSerMan.com> >>

=head1 BUGS

Please report any bugs or feature requests to
C<bug-devel-perlysense@rt.cpan.org>, or through the web interface at
I will be notified, and then you'll automatically be notified of progress on
your bug as I make changes.



Copyright 2005 Johan Lindström, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.