Google News
logo
Perl - Interview Questions
What are Scalars in Perl?
Variables having values with linear data types like integer, float or string are called scalar variables in Perl.
$x=10;
$mystr=”abc”;
These are all scalar variables.
Advertisement