1 # this is a tiny module which basically provides a fake safe for use with Devel::Cover
6 my $self = {root => 'fakeSafe'};
15 my ($self,$code) = @_;
16 eval "package $self->{root}; $code";
21 return($self->{root});
28 return *{$self->{root}."::$var"};