in reply to Auto-detecting module usage

Examine caller() from inside your module's &import.

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

Replies are listed 'Best First'.
Re^2: Auto-detecting module usage
by Anonymous Monk on Jan 24, 2006 at 16:18 UTC
    Thanks. Together with tirwhan's suggestion, that's exactly what I needed. :-)