http://www.perlmonks.org?node_id=1000859


in reply to Re^4: Can I from within a module access variables from the calling program?
in thread Can I from within a module access variables from the calling program?

All good - I see the connection: "it didn't work" was not referring to $main::foo (in the sentence preceding it) but rather $main::log_name (near the end of the post).

-- Ken