Scalar Data

Strings

Strings are sequences of characters.

The shortest possible string has no characters, e.g. $a = "";

The longest string fills all of the computer's available memory.

Strings should be enclosed by single or double quotes. i.e.,

$a = "Bar Ilan University" ;
$b = 'Perl programming course' ;


Table of Contents.
Previous | Next.