Help for this page

Select Code to Download


  1. or download this
    use Win32::Process;
    use strict;
    ...
    Win32::Process::Create($ProcessObj, "c:/perl/bin/perl.exe","perl test1
    +.pl", 0, DETACHED_PROCESS, ".");
    my $pid = $ProcessObj->GetProcessID();
    print "$pid\n";
    
  2. or download this
    open(FILE,">c:/tada.txt");
    print FILE "hello\n";
    close FILE;