- or download this
my ( $c, $d );
1 ? $c : $d = 'Hi';
- or download this
my ( $c, $d );
$c = 'Hi';
- or download this
my $d;
1 ? my $c : $d = 'Hi';
- or download this
my $d;
my $c = 'Hi';
- or download this
$ perl -MO=Deparse -e 'my $c; 1 ? $c : my $d; $d'
my $c;
$c;
$d;
-e syntax OK
- or download this
$ perl -e '1 ? my $c : my $d'
Invalid separator character '$' in attribute list at -e line 1, near "
+$c : my "
Execution of -e aborted due to compilation errors.
- or download this
our $d = 'Out';
{
...
$d = 'In';
}
say $d;
- or download this
our $d = 'Out';
{
...
$d = 'In';
}
say $d;