[LON-CAPA-users] Scope of variables

lon-capa-users@mail.lon-capa.org lon-capa-users@mail.lon-capa.org
Fri, 16 Jun 2006 09:35:22 -0400


I am wondering about the scope of variables in scripts (I'm trying to track
down a couple of lingering problems).

I build a problem composed of two parts. Each part imports a library
section of code, including a perl script for randomization. Are the
variables in conflict? I'm assuming they are local to the <part>, but maybe
that is not true - maybe they are all global? The two scripts could be
interfering with each other?

Is there a documentation page describing the scope of perl script variables
within LonCapa?

Thanks,brew