Glade-Perl
view release on metacpan or search on metacpan
Glade/PerlProject.pm view on Meta::CPAN
mkpath($proj_opt->{dist}{test_directory} );
}
$proj_opt->{dist}{test_pl} = $class->full_Path(
($proj_opt->{dist}{test_pl} || './01.t'),
$proj_opt->{dist}{test_directory} );
if ($Glade_Perl->app->author) {
$proj_opt->{app}{author} = $Glade_Perl->app->author;
} else {
my $host = hostname;
my $pwuid = [(getpwuid($<))];
my $user = $pwuid->[0];
my $fullname = $pwuid->[6];
my $hostname = [split(" ", $host)];
$proj_opt->{app}{'author'} = "$fullname <$user\@$hostname->[0]>";
}
# Remove trailing spaces and ensure only one leading '#'
$Glade_Perl->{app}{copying} =~ s/ *$//;
if ($Glade_Perl->app->copying !~ /^#/) {
$Glade_Perl->app->copying("#".$Glade_Perl->app->copying);
}
( run in 0.317 second using v1.01-cache-2.11-cpan-8d75d55dd25 )