in reply to issues with eval (get a variable's value)

You are using symbolic references to refer to your variables, and variables declared with my do not have a symbol table entry. (see Symbolic_References).

You could look at PadWalker to get access to lexical variables.

Clint

Update Thanks to ikegami for pointing out that you are not using symbolic references. I misread the code.

Presumably then, your my variables are being declared within other subs, so they are not in the same scope as your display_init sub, and so are not visible.

Replies are listed 'Best First'.
Re^2: issues with eval (get a variable's value)
by ikegami (Patriarch) on Sep 12, 2007 at 13:11 UTC
    He's not using sym refs.