Skip to content

Conversation

gugod
Copy link

@gugod gugod commented Jul 16, 2012

Git::PurePerl assumes $/ = "\n" and uses chomp() in multiple places, which can be broken when used in script, where it's not uncomment to say something like this in somewhere:

undef $/;
my $data = <>;

The patch contains a test script local-rs.t, basically identical to simple.t, with one additional line to change the value of $/. However it's very sufficient to reproduce the failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant