Since constant works by installing subroutines, you can also write
Page() => 'mypage', Index() => 'myindex',
In reply to Re: why doesn't constant work?
by moritz
in thread why doesn't constant work?
by perl-diddler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |