in reply to Re^3: Using Constants in Perl
in thread Using Constants in Perl
Then use it like you would any hashref ie:use constant HASH_REF => { constant_key => 'constant_value', ... };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Using Constants in Perl
by jhourcle (Prior) on Mar 01, 2006 at 14:22 UTC |