If i recall, the following will work :
our @EXPORT = keys %devbox::;
You were very close, but the
qw// was non-interpolated. While this does work, i do not suggest doing such things. It is usually better, in my opinion, to create a real module and distribute, rather than copy/paste ... but, just my
$0.02
update : Added disclaimer.
$ perl -e 'do() || ! do() ;'
Undefined subroutine &main::try