The problem line (located about the middle of your code) is:
use define {
Perhaps you meant constant instead of define:
use constant {
Update: Well, you learn something every day. I wasn't aware that a define pragma existed on CPAN.
From your code, it looks like constant will work just fine and you won't need to install it. If define is definitely what you want to use here, follow choroba's advice below.
-- Ken
In reply to Re: Can't locate define.pm
by kcott
in thread Can't locate define.pm
by jaldama
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |