Perl

  1. Home
  2. Computing & Technology
  3. Perl

Loosely Typed

From About.com

Definition: A loosely typed programming languages is typically one that does not require the type of a variable to be explicitly stated. Perl is a loosely typed language. You can put any type of data into a variable and perl will interpret it based on context:
$myVariable = 25;
$myVariable = "A String.";
C is not a loosely typed language (see strongly typed). You must declare the variable type before using it:
int myVariable;
myVariable = 25;

Explore Perl

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Perl

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

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

All rights reserved.