Help for this page

Select Code to Download


  1. or download this
     > say '%= = 0..9; $k = %=; $k %= %=;'
    Argument "4/8" isn't numeric in modulus (%)
    Argument "4/8" isn't numeric in modulus (%)
    0
    
  2. or download this
    $\ = "\n";
    *{'@*'} = sub { @{$_[0]} };
    ...
    foo
    bar
    baz
    
  3. or download this
        my @things= $foo->@*;
    
        So, now, the $ no longer can be relied to refer to a "scalar", it 
    +might be a scalar, it might not.
    
  4. or download this
    my @things = $scalar->fetch_all_the_things();