Scalars are variables that can contain only a single unit of data at a time. That data is said to remain stored in scalar variables. Perl supports different types of scalar values. These are character, string, numbers, floating-point values, references, etc. The $ (dollar) sign is used to create scalars.