Hi Richard,
On 12/12/2013 08:56 AM, Richard Hainsworth wrote:
I would like to set a series of magic numbers from the command line.
I have in a program
constant N-SCENARIOS = 10;
which works great. But I would like to set an option in the command
line, such as
perl6 program.p6 scenarios=15
.
I would like to set a series of magic numbers from the command line.
I have in a program
constant N-SCENARIOS = 10;
which works great. But I would like to set an option in the command
line, such as
perl6 program.p6 scenarios=15
and then within program have the option assigned to the constant