Help for this page

Select Code to Download


  1. or download this
    perl -E "@a1=qw(1 2 3); @a2=qw(a b c d e); say for (@a1 & @a2)"
    
    ...
    c
    d
    e
    
  2. or download this
    open(FILE, "<x.log");
    close (FILE);
    ...
    ..
    close $file_handle;
    
  3. or download this
    
    my @array;
    ...
    
    push @array, $_ for grep{..
    
  4. or download this
    # pseudocode
    
    ...
        interesting3 = [ 1, 1 ],     # is present in both files
    );