Skip to content
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

allow tablify to format non-rectangular arrays #1150

Merged
merged 1 commit into from Nov 6, 2017

Conversation

CandyAngel
Copy link
Contributor

@CandyAngel CandyAngel commented Nov 6, 2017

Summary

This change allows tablify to work on non-rectangular arrays without generating errors. For example, when outputting parsed CSV files with trailing empty cells omitted/removed by trimmed whitespace.

Motivation

Removes the need for looping over and modifying the input array reference several times to prepare it for tablify by the user.

References

This implements the line-count-even implementation suggested by sri and tests provided by lindleyw in #1132.

@kraih kraih merged commit 6624d1a into mojolicious:master Nov 6, 2017
@CandyAngel CandyAngel deleted the nonrect_tablify branch November 6, 2017 21:55
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.

None yet

2 participants