App-mgen
view release on metacpan or search on metacpan
lib/App/mgen.pm view on Meta::CPAN
my $io = IO::File->new( $path, "w" ) || die $!;
$io->print($gen);
$io->close;
}
## std output
if ( !$self->{options}->{silent} ) {
print "$gen\n";
print "OUTPUT >> $path\n" if $path;
}
return $gen;
}
sub _set_env {
my $self = shift;
$self->{module_path} = $ENV{MGEN_ROOT} ? $ENV{MGEN_ROOT} : "";
$self->{author} = $ENV{MGEN_AUTHOR} ? $ENV{MGEN_AUTHOR} : "";
( run in 0.430 second using v1.01-cache-2.11-cpan-4e96b696675 )