O'Reilly logo

Perl Pocket Reference, 5th Edition by Johan Vromans

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Data Types

See the section Variables for the role of the sigils.

Type

Sigil

Description

Array

@

Indexable list of scalar values.

Code

&

A piece of Perl code, e.g., a subroutine.

Format

 

A format for producing reports.

Glob

*

All data types.

Hash

%

Associative array of scalar values.

IO

 

Filehandle. Used in input and output operations.

Scalar

$

Strings, numbers, typeglobs, and references.

perldata.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required