- or download this
my $var; # Declares a single variable.
- or download this
my $var = "Hello world!\n";
my $var = 10;
...
my $var = \%some_hash;
my $var = \$some_scalar;
my $var = \&some_function;
- or download this
my ( $this, $that );
- or download this
my ( $this, $that ) = ( "the", "other" );
- or download this
my ($var);
- or download this
my ($var) = "This";
- or download this
my ( $this, $that ) = "The other";
- or download this
my @array = ("This", "That", "and", "The", "Other");
my %hash = ( "This" => "That",
...
# constructer is distributive and
# applies to both items inside the rvalue
# list.