1. Home
  2. Computing & Technology
  3. Perl

Strongly Typed

By Kirk Brown, About.com

Definition: A strongly typed programming languages is one that requires the type of a variable to be explicitly stated. C is a strongly typed language. You must declare the type of data a variable will store for C to interpret it:
int myVariable;
myVariable = 25;
Perl is a loosely typed language. There is no need to declare the variable type before using it:
$myVariable = 25;
$myVariable = "A String.";

Explore Perl

More from About.com

  1. Home
  2. Computing & Technology
  3. Perl
  4. Getting Started
  5. Programming Glossary
  6. Strongly Typed

©2008 About.com, a part of The New York Times Company.

All rights reserved.