14 lines
573 B
Perl
14 lines
573 B
Perl
Data Type Operator Example
|
|
Scalar \$var $car = \$Porsche;
|
|
|
|
Array \@array $allStores[$number] = \@storeInventory;
|
|
|
|
Hash \%hash $storeType = \%stores;
|
|
|
|
File handle \*FILEHANDLE $inputReference = \*STDIN;
|
|
|
|
Constant \literal $pi = \3.4;
|
|
|
|
Subroutine \&subRoutine $callBack = \&numericSort;
|
|
|
|
Symbolic \$variableName $var ="var2"; $var2Ref = \$var; |