in reply to Is this safe to export and import functions this way?
It won't work the first time you do it because My::Package hasn't been loaded at the time that you try to get the list of keys in order to pass in to the 'use' line. The second time you use it, it might work, but it will still be a really bad idea.
use My::Package '/./';
See 'Advanced features' in Exporter.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is this safe to export and import functions this way? (order)
by tye (Sage) on Aug 19, 2015 at 20:13 UTC | |
|
Re^2: Is this safe to export and import functions this way? (:all)
by Laurent_R (Canon) on Aug 19, 2015 at 19:59 UTC |