From: ajwitte@... Date: 2005-04-07T08:34:40+09:00 Subject: Ruby/DL - assigning to global variables? Hi, I know I can do: module Foo extend DL::Importable dlload 'libquux.so' @@bar = symbol 'bar' end where 'bar' is a variable in libquux. How do I assign a value to bar? Specifically, I am trying to use libreadline via Ruby/DL (yes, I know about ext/readline) and am trying to assign a callback to rl_attempted_completion_function. Thanks, /Andrew