- or download this
@saw{@in} = undef;
- or download this
@saw{@in} = (1) x @in;
- or download this
@saw{@in} = ();
- or download this
DB<1> use Devel::Size 'total_size'
DB<2> @x{1..1000}=()
...
41049
DB<5> p total_size(\%y)
45049
- or download this
if ( exists $some_hash{ foo } ) {
launch_the_missiles();
}
- or download this
$x = $some_hash{ maybe_foo() }{ bar };
- or download this
my @no_repeats = do { my %h; grep !$h{$_}++, @has_repeats };