Help for this page

Select Code to Download


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