| 1 | package barewords; | ||
| 2 | |||
| 3 | 1 | our $VERSION = '0.01'; | |
| 4 | |||
| 5 | 1 | require constant; | |
| 6 | |||
| 7 | 1 | ▶ | sub import { |
|
Subroutine
import: called CC=1 SCAR=0.0
| |||
| 8 | 1 | my %constants = map { $_ => $_ } @_; | |
| 9 | 1 | @_ = (constant => \%constants); | |
| 10 | 1 | goto &constant::import; | |
| 11 | } | ||
| 12 | |||
| 13 | 1 | 1; | |
| 14 | |||
| 15 | __END__ | ||