I am interfacing to an ancient 4(ish)GL library. It defines a number of
tied (global) variables which are defined internally to the library but
are not (necessarily) yet defined in perl.

So we have some code that looks like this:-

use FF;

$SBOL::ACCNO = $SYUS::LOGNAME;

This are variables which are tied (this all works) using other routines.
However, I want it to be possible for this bald statement to work by
means of the 'system' picking up each varname, if it is as yet
undefined, and executing (probably) a piece of XS which  causes it to be
defined.

This is, in effect, AUTOLOAD for variable names with a default handler
in the 'main' package.

Dirk

Reply via email to