Help for this page

Select Code to Download


  1. or download this
    my $aux=0;
    foreach my $pos (@files){
      $files[$aux]="\t\"".$path."\\".$files[$aux]."\""."   $esquema\n";
      $aux++;
    }
    
  2. or download this
    my $aux=0;
    foreach my $pos (@files){
      $files[$aux] = qq '\t"$path\\$files[$aux]"   $esquema\n';
      $aux++;
    }
    
  3. or download this
    foreach my $pos ( 0 .. $#files ) {
      $files[$pos] = qq '\t"$path\\$files[$pos]"   $esquema\n';
    }
    
  4. or download this
    foreach my $file ( @files ) {
       $file = qq '\t"$path\\$file"   $esquema\n';
    }
    
  5. or download this
    for ( @files ) {    # 'for' and 'foreach' are equivalent
       $_ = qq '\t"$path\\$_"   $esquema\n';
    }