note
dragonchild
Usually, when static vs. dynamic is discussed, it's referring to the typing of the variables. Perl doesn't require that you declare whether you're using a number or a string ahead of time. That's dynamic typing. Static typing is like C or Java, which makes you say "This variable will always be an integer or a float (or whatever)".
<p>It can also refer to the fact that Perl is (somewhat) introspective, like LISP, while C/C++ is not. You can dynamically generate executable code in Perl, because it's interpreted. You cannot do that in C++. (Well, that's not entirely true, but it's close enough for this discussion.)
<p>Hope that helps!
<p>------<br><i>We are the carpenters and bricklayers of the Information Age.</i><p><i>The idea is a little like C++ templates, except not quite so brain-meltingly complicated.</i> -- [TheDamian], Exegesis 6<p>Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.
280934
281138