Loosely typed language

A programming language that does not require a variable to be defined. For example, Perl is a loosely typed language, you can declare a variable but doesn't require you specify what variable. In the below example the first line declares the $test variable that can be used as an integer or string.

my $test;
$test = 1; #Test variable is now integer.
$test = "hello"; #Test variable is now a string.

The opposite of a loosely typed languages is a strongly typed language, such as C.

Also see: Perl, Programming definitions