Skip to content

Commit 95e0ba5

Browse files
committedMar 26, 2014
Fix for Net::FTP (requires BINMODE)
1 parent 4f1f120 commit 95e0ba5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎lib/IO/Scalar.pm

+8
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,14 @@ sub EOF { shift->eof(@_); }
685685

686686
#------------------------------------------------------------
687687

688+
# required for FTP.pm to run correctly
689+
690+
sub BINMODE { 1; }
691+
692+
#------------------------------------------------------------
693+
694+
695+
688696
1;
689697

690698
__END__

0 commit comments

Comments
 (0)
Please sign in to comment.