Help for this page

Select Code to Download


  1. or download this
    # Top level
    my $choice = get_choice();
    ...
    
    # Even lower level
    ...
    
  2. or download this
    my $ret = system "`xcopy "C:\\Program Files\\UltraVNC\\*.*" "\\\\$ip\\
    +C\$\\Program Files\\UltraVNC\\*.*" /r/i/c/h/k/e/Y";
    die "xcopy failed" if $ret;
    $ret = 0;
    ...
    
  3. or download this
    open(DAT,">>$resultOutput") || die("Cannot Open File");
    print DAT "Bad username or password on the following machines:\n";
    
  4. or download this
    open DAT, ">>$filename" || die "foo";
    
  5. or download this
    open DAT, (">>$filename" || die "foo");
    
  6. or download this
    open(my $dat, ">>", $resultOutput")    or die("Cannot Open File");
    print $dat "Bad username or password on the following machines:\n";