Help for this page

Select Code to Download


  1. or download this
    fast(@data);
    sub fast {
        my $x = $_[0];
    }
    
  2. or download this
    slow(@data);
    sub slow {
        my @arr = @_;
        my $x = $arr[0];
    }
    
  3. or download this
    fast(\@data);
    sub fast {
        my $arr = $_[0];
        my $x = $arr->[0];
    }