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

Fix #851: error on modulo operato in Perl #853

Merged
merged 2 commits into from
Jan 31, 2018
Merged

Conversation

miparnisari
Copy link
Contributor

Fix for this:

my $moduloOperation = $totalNumber % $columns ? 1 : 0;
                                     ^
                                     error here

I changed the order of the rules (operators before variables)

@miparnisari
Copy link
Contributor Author

@jneen can you review this please?


# operators
my $moduloOperation = $totalNumber % $columns ? 1 : 0;
my $addOperation = $totalNumber + $myOtherVar;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you ensure the newline at end of the file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure! Done.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@gfx
Copy link
Member

gfx commented Jan 31, 2018

Perfect. Thanks.

@gfx gfx merged commit e97c793 into rouge-ruby:master Jan 31, 2018
@gfx gfx changed the title Fix #851 Fix #851: error on modulo operato in Perl Jan 31, 2018
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.

2 participants