Acronym in Perl 6
Convert a long phrase to its acronym
exercism fetch perl6 acronym
Convert a phrase to its acronym.
Techies love their TLA (Three Letter Acronyms)!
Help generate some jargon by writing a program that converts a long name like Portable Network Graphics to its acronym (PNG).
Running the tests
There is a test suite and module included with the exercise.
The test suite (a file with the extension
.t) will attempt to run routines
from the module (a file with the extension
Add/modify routines in the module so that the tests will pass! You can view the
test data by executing the command
perl6 --doc *.t (* being the name of the
test suite), and run the test suite for the exercise by executing the command
prove . --exec=perl6 in the exercise directory.
You can also add the
-v flag e.g.
prove . --exec=perl6 -v to display all
tests, including any optional tests marked as 'TODO'.
Julien Vanier https://github.com/monkbroc
Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.