I installed this Perl Module Git::Repository from cpan , i am using strawberry Perl v5.28.1 .
when i am trying the following :
use Git::Repository;
$r = Git::Repository->new( work_tree => 'C:\Users\dave\Documents\my_test\.git' );
#$r->run( add => '.' );
#$r->run( commit => '-m', 'my commit message' );
i get the below error message :
Warning: unable to close filehandle GEN11 properly: Bad file descriptor at C:/Strawberry/perl/site/lib/Git/Repository/Command.pm line 95.
Warning: unable to close filehandle GEN7 properly: Bad file descriptor at C:/Strawberry/perl/site/lib/Git/Repository/Command.pm line 95.
Warning: unable to close filehandle GEN26 properly: Bad file descriptor at C:/Strawberry/perl/site/lib/Git/Repository.pm line 198.
Warning: unable to close filehandle GEN22 properly: Bad file descriptor at C:/Strawberry/perl/site/lib/Git/Repository.pm line 198.
Warning: unable to close filehandle GEN41 properly: Bad file descriptor at C:/Strawberry/perl/site/lib/Git/Repository.pm line 198.
Warning: unable to close filehandle GEN37 properly: Bad file descriptor at C:/Strawberry/perl/site/lib/Git/Repository.pm line 198.
Warning: unable to close filehandle GEN56 properly: Bad file descriptor at C:/Strawberry/perl/site/lib/Git/Repository.pm line 198.
Warning: unable to close filehandle GEN52 properly: Bad file descriptor at C:/Strawberry/perl/site/lib/Git/Repository.pm line 198.
Warning: unable to close filehandle GEN71 properly: Bad file descriptor at C:/Strawberry/perl/site/lib/Git/Repository.pm line 198.
Warning: unable to close filehandle GEN67 properly: Bad file descriptor at C:/Strawberry/perl/site/lib/Git/Repository.pm line 198.
Warning: unable to close filehandle GEN86 properly: Bad file descriptor at C:/Strawberry/perl/site/lib/Git/Repository.pm line 198.
Warning: unable to close filehandle GEN82 properly: Bad file descriptor at C:/Strawberry/perl/site/lib/Git/Repository.pm line 198.
any idea/help?