in reply to export all symbols

Are you looking for some variation of my Automatically add all defined functions to your @EXPORT?

Replies are listed 'Best First'.
Re^2: export all symbols
by jh (Beadle) on Jan 21, 2009 at 22:00 UTC
    That works excellently, especially since all of the variables I want to export start with the prefix "$RGX":
    our @EXPORT = do { no strict 'refs'; map { '$' . $_ } grep { m/^RGX/ } keys %{ 'MyRegex::' }; };
    Thanks for the help!
Re^2: export all symbols
by doom (Deacon) on Jan 21, 2009 at 20:24 UTC
    That's a good one... I'm glad I saw it before I posted my solution (which I've long since given up on because it uses a source filter).