App-Stash

 view release on metacpan or  search on metacpan

lib/App/Stash.pm  view on Meta::CPAN

=head1 METHODS

=head2 new()

Object constructor.

=cut

sub new {
    my $class = shift;
    my $self  = $class->SUPER::new(@_);

    unless ( $self->application ) {
        my $caller = (caller)[0];
        $self->application($caller);
    }

    unless ( $self->directory ) {
        my $dir = dir( home(), "." . $self->_clean( $self->application ));
        $self->directory($dir);
    }



( run in 0.262 second using v1.01-cache-2.11-cpan-a9ef4e587e4 )