Help for this page

Select Code to Download


  1. or download this
    # clean up if the temp files were already there
    unlink $_ or die "unlink $_: $!\n" for grep {-e $_} "/tmp/a$$", "/tmp/
    +b$$";
    ...
    
    # cleanup temp files
    unlink $_ or die "unlink $_: $!\n" for grep {-e $_} "/tmp/a$$", "/tmp/
    +b$$";
    
  2. or download this
    my $output = `(perl $rpla >/dev/null 2>&1 && echo a) & (perl $rplb >/d
    +ev/null 2>&1 && echo b)`;
    my $success = $output =~ /a/ && $output =~ /b/;
    
  3. or download this
    ------------
    :Wq
    Not an editor command: Wq