Help for this page

Select Code to Download


  1. or download this
        $control[0]{"play"} = "/false/;
        $control[0]{"ctrl"} = "/false/;
        $control[0]{"loop"} = "/false/;
        % control = map { $_ => 'true' } split ' ', $4;
    
  2. or download this
    my %control = map { $_ => 'false' } qw(play ctrl loop);
      $control{$_} = 'true' for split ' ', $4;
    
  3. or download this
      my %control = map { $_ => 'true' } split ' ', $4;
      %control = ((map { $_ => 'false' } qw(play ctrl loop)), %control);