in reply to Constant subroutines thoughts
const is really useful when applied correctly, but Perl has no such mechanism. This is a huge drawback when it comes to optimization.my const $FOO = 'bar'; # This is preferable, excuse my C++ my $FOO : const = 'bar'; # This is "more Perly"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Constant subroutines thoughts
by Juerd (Abbot) on Jun 09, 2002 at 09:41 UTC | |
|
Re: Re: Constant subroutines thoughts
by Courage (Parson) on Jun 09, 2002 at 06:38 UTC | |
by tadman (Prior) on Jun 09, 2002 at 13:31 UTC | |
by Courage (Parson) on Jun 09, 2002 at 14:16 UTC |