Declaration

In programming a declaration or a declare is a statement in programming that define a variable, array, and if applicable its value. Below are some examples of Perl declarations.

my $help;

This declares the $help variable.

my ($help, $support);

Declare both $help and $support variables in one line.

my $help = "Computer Hope";

Declare the $help variable and assigns the value "Computer Hope" to that variable.

Also see: Programming definitions