Take the process_command_line.pl script improve in several ways:
- Check if the value given on the command line is indeed one
of the possible values and don't let other colors pass.
- Allow a --force flag that will disregard the previously implemented restriction.
- Read the names of the colors from a file called colors.txt
- Let the user pass the name of the color file using the --filename FILENAME option.
If you are interested in on-site trainings by the author, please
contact me directly.
|