If I define a constant in a Perl module, how do I use that constant in my main program? (Or how do I call that constant in the main program?)
To expand on the earlier answers, since constants are really just subs, you can also call them directly:
use Foo; print Foo::BAR;