exercism-perl5

Repository for my Perl 5 Exercism exercises
git clone git://git.samirparikh.com/exercism-perl5
Log | Files | Refs | README

README.md (822B) - raw


      1 # Two Fer
      2 
      3 Welcome to Two Fer on Exercism's Perl 5 Track.
      4 If you need help running the tests or submitting your code, check out `HELP.md`.
      5 
      6 ## Instructions
      7 
      8 `Two-fer` or `2-fer` is short for two for one. One for you and one for me.
      9 
     10 Given a name, return a string with the message:
     11 
     12 ```text
     13 One for name, one for me.
     14 ```
     15 
     16 Where "name" is the given name.
     17 
     18 However, if the name is missing, return the string:
     19 
     20 ```text
     21 One for you, one for me.
     22 ```
     23 
     24 Here are some examples:
     25 
     26 |Name    |String to return
     27 |:-------|:------------------
     28 |Alice   |One for Alice, one for me.
     29 |Bob     |One for Bob, one for me.
     30 |        |One for you, one for me.
     31 |Zaphod  |One for Zaphod, one for me.
     32 
     33 ## Source
     34 
     35 ### Created by
     36 
     37 - @m-dango
     38 
     39 ### Contributed to by
     40 
     41 - @rfilipo
     42 
     43 ### Based on
     44 
     45 https://github.com/exercism/problem-specifications/issues/757