Perl variables
Translation results:
Perl is the abbreviation of Practical Extraction and Report Language, which can be translated as "Practical Report Extraction Language".
Perl is a high-level, general-purpose, literal, dynamic programming language.
Perl was originally designed by Larry Wall and was published on December 18, 1987.
Perl borrows features from C, sed, awk, shell scripts, and many other programming languages.
The most important feature of Perl is that Perl integrates regular expression functions and the huge third-party code library CPAN.
Perl variablessyntax
Variables are data stored in memory. Creating a variable will open up a space in memory.
The interpreter will determine its storage space in memory based on the type of the variable, so you can assign different data types to variables, such as integer, floating point, string, etc.
Perl variablesexample
$age = 25; $name = "runoob"; # string $salary = 1445.50; # Floating point number