Class-MethodMapper
view release on metacpan or search on metacpan
lib/Class/MethodMapper.pm view on Meta::CPAN
my $self = shift;
my $file = shift;
my $fh = new IO::File (">$file");
unless (defined $fh) {
warn "MethodMapper: couldn't save state to $file: $!";
return 0;
}
my $host = Sys::Hostname::hostname;
my $username = getpwuid($REAL_USER_ID);
$self =~ /^(.*?)=/;
my $class = $1;
print $fh "#\n";
print $fh "# $class Configuration\n";
print $fh "# Last modified: $username\@$host ".localtime()."\n";
print $fh "#\n\n";
my $cb = sub {
( run in 0.233 second using v1.01-cache-2.11-cpan-8d75d55dd25 )