|
|
Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib
By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS
|
GBIC >>
Source Code >>
Perl >> Snippet
|
05 Data types / variables
Variables can be number
or
strings
.
Perl handles the conversions
.
Variables start with $
$string
=
"Gary Beene"
Arrays start with @
@myarray
Associative arrays begins with %
%myarray
You create a variable by using it
.
no
separation definition
or
dimensioning is required
.
$myvar
=
5
|
|
|
|