Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • by ziggy (25) on 2004.12.14 15:29 (#36796) Journal
    All four terms are a bit murky in Perl.
    • Perl is strongly typed, because there is absolutely, positively no way in Hell you can coerce a hashref into a listref or a coderef.
    • Perl is weakly typed, because you really don't care what happens if you use an integer as a string, or a string as an integer. It all just works.
    • Perl is statically typed because the compiler creates $foo as a scalar variable, and it will always remain so. $foo will never be a list, hash or subroutine.
    • Perl is dynamically typed because $foo can hold an integer now, a string later, and a coderef in between.
    Confused yet? ;-)