in reply to importing arrays from other module

I forgot to mention that I've already read that Exporter documentation says explicitly not to import arrays but I'm not really in the mood of respecting that, I want a dirty-quick type of solution.

Replies are listed 'Best First'.
Re^2: importing arrays from other module
by Corion (Patriarch) on May 12, 2010 at 08:17 UTC

    Maybe you don't want to use Exporter at all then? You keep on harping that you want "dirty-quick", but you don't tell us what you really want to do. The dirtiest way to create names for variables in another package is:

    *main::p = \@p;

    ... but then, it's really not clear to me what you're trying to do at all.