New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specify list context for URI::Template 0.21 #12

merged 1 commit into from Apr 4, 2015


None yet
2 participants

bayashi commented Apr 4, 2015

URI::Template has been changed 'variables' method on 0.21.

diffs are:


return keys %{ $_[ 0 ]->{ _vars } };


return sort {$_[ 0 ]->{ _vars }->{ $a } <=> $_[ 0 ]->{ _vars }->{ $b } } keys %{ $_[ 0 ]->{ _vars } };

keys returns a count of list in the scalar context, but sort returns the undef in the scalar context. via perldoc -f sort

relate: #10

@bayashi bayashi referenced this pull request Apr 4, 2015


Test fails #10

nichtich added a commit that referenced this pull request Apr 4, 2015

Merge pull request #12 from bayashi/fix_test_10
specify list context for URI::Template 0.21

@nichtich nichtich merged commit 1c580bf into nichtich:master Apr 4, 2015

1 check failed

continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment