You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use Git::PurePerl;
my $git = Git::PurePerl->new(
directory => '.git'
);
$git->master->committer;
$git->master->comment;
$obj = $git->get_object($git->master->tree);
use Data::Dumper; warn Dumper( $obj );
defined(@array) is deprecated at /Users/c9s/perl5/perlbrew/perls/perl-5.15.7/lib/site_perl/5.15.7/PerlIO/via/dynamic.pm line 149.
(Maybe you should just omit the defined()?)
.git/.git is not a directory at /Users/c9s/perl5/perlbrew/perls/perl-5.15.7/lib/site_perl/5.15.7/Git/PurePerl.pm line 105
Git::PurePerl::BUILD('Git::PurePerl=HASH(0x7fdbc4959818)', 'HASH(0x7fdbc302a6a8)') called at constructor Git::PurePerl::new (defined at /Users/c9s/perl5/perlbrew/perls/perl-5.15.7/lib/site_perl/5.15.7/Git/PurePerl.pm line 92) line 63
Git::PurePerl::new('Git::PurePerl', 'directory', '.git') called at git.pl line 4
The text was updated successfully, but these errors were encountered:
Code:
The text was updated successfully, but these errors were encountered: