Help for this page

Select Code to Download


  1. or download this
    my @array = ($command, $arg1, $arg2, $arg3);
    system "@array > $outfile";
    
  2. or download this
    Can't spawn "cmd.exe": No such file or directory at D:\advanced_progra
    +mming\test_syscall.pl line 11.
    
    and
    
    my @array = ($command, $arg1, $arg2, $arg3);
    open CMD, "@array > $outfile" or die "open() failed - $!";
    
  3. or download this
    Name "main::CMD" used only once: possible typo at D:\advanced_programm
    +ing\test_syscall.pl line 17.
    open() failed - Invalid argument at D:\advanced_programming\test_sysca
    +ll.pl line 17.