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

Added Factorial in Perl #1613

Merged
merged 4 commits into from
Oct 15, 2019
Merged

Added Factorial in Perl #1613

merged 4 commits into from
Oct 15, 2019

Conversation

kaprijela
Copy link
Contributor

Congrats on taking the first step to contributing to the Sample Programs repository maintained by The Renegade Coder! For simplicity, please make sure that your pull request includes one and only one contribution.

Complete the Applicable Sections Below

Find which section best describes your pull request and make sure you fill it out. To start, let us know which issue you've fixed.

Code Snippets

  • I named the pull request using Added/Updated <Sample Program> in <Language> format
  • I created/updated the language README
    • I added the sample program name to the README
    • I added fun facts (i.e. debut, developer, typing, etc.)
    • I added reference link(s) to the README
    • I added solution citations when necessary (see plagiarism)

Notes

I added a script which computes factorial iteratively. It accepts a number either as a script argument or later from standard input.

@jrg94 jrg94 requested a review from a team October 14, 2019 21:55
@jrg94 jrg94 self-assigned this Oct 14, 2019
@jrg94 jrg94 added enhancement Any code that improves the repo factorial See: https://sampleprograms.io/projects/factorial/ hacktoberfest Hacktoberfest related labels Oct 14, 2019
@jrg94 jrg94 added this to the 500 Code Snippets milestone Oct 14, 2019
Copy link
Member

@jrg94 jrg94 left a comment

Choose a reason for hiding this comment

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

Looks good! Double check the failed tests here: https://travis-ci.com/TheRenegadeCoder/sample-programs/jobs/245605844

@kaprijela
Copy link
Contributor Author

It seems that I had too much faith in my regex. It should be fixed now!

Copy link
Member

@jrg94 jrg94 left a comment

Choose a reason for hiding this comment

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

Runs great! Nice work.

@jrg94 jrg94 merged commit 94a1a89 into TheRenegadeCoder:master Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Any code that improves the repo factorial See: https://sampleprograms.io/projects/factorial/ hacktoberfest Hacktoberfest related
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Add Factorial in Perl
2 participants