© J.J. Merelo 2020
J. MereloRaku Recipeshttps://doi.org/10.1007/978-1-4842-6258-0_5

5. Configuring and Executing Programs

J. J. Merelo1 
(1)
Granada, Granada, Spain
 

So far we have been working with small scripts and modules that, in general, had everything they needed to get the job done. Most real programs, however, will need some information from the user to run properly, even if they work with default values. These will come in the shape of environment information, command-line flags, or configuration files in some standard format. In this chapter, we’ll see how these work in Raku.

Recipe 5-1. Configure a Program Using JSON/YAML/.ini Files

Problem

You need to run a program with a series of values that are not known at the time you design the program, ...

Get Raku Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.