Marcus Poller
02/25/2026, 9:30 AMrequire 'mkmf'
CONFIG['MKMF_VERBOSE'] = "1"
create_makefile 'qsort'
The code works and generates a Makefile. The content is as intended
# V=0 quiet, V=1 verbose. other values don't work.
V = 0
I do not understand scope. From my understanding CONFIG is a local variable in the main script. How can that possibly be visible in the function create_makefile?