- or download this
# assigning from:
my $foo = $bar ? $baz : $quux;
# assigning 'to
push @{ $row->{close_time} ? \@closed : \@open }, $row;
- or download this
#!/usr/bin/perl
use strict;
...
push @{ @{ @{ @{ @{@open} } } } } => ['bar'];
print Dumper(\@open);
- or download this
$VAR1 = [
'boo!',
'boo!'
...
'bar'
]
];
- or download this
$bar = ${$scalarref};
push(@{$arrayref}, $filename);
${$arrayref}[0] = "January";
${$hashref}{"KEY"} = "VALUE";
&{$coderef}(1,2,3);