Help for this page

Select Code to Download


  1. or download this
    @echo off
    c:\devt\perl\bin\perl.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
    echo on
    
  2. or download this
    perlbat -V > stdout.log
  3. or download this
    c:\devt\perl\bin\perl -V > stdout.log
  4. or download this
    @echo off
    c:\devt\perl\bin\perl.exe -e "$so=qw(stdout.log); $se=$so; open STDOUT
    +, qw(>).$so; open STDERR, qw(>).$se; @args = qw(perl, %1, %2, %3, %4,
    + %5, %6, %7, %8, %9);  system(@args) == 0 or warn qw(Failure: $?);"
    echo on
    
  5. or download this
    $so = qw( stdout.log ); 
    $se = $so; 
    open STDOUT, qw( > ) . $so; 
    open STDERR, qw( > ) . $se; 
    @args = qw( perl, %1, %2, %3, %4, %5, %6, %7, %8, %9 ); 
    system( @args ) == 0 or warn qw( Failure: $? );
    
  6. or download this
    @args = qw( perl, @ARGV );
  7. or download this
     @echo off
    '-----
    ' plog.bat: Optional logging for perl on Win9x.
    ...
    
    :ciao
    echo on
    
  8. or download this
    open STDERR, ">&STDOUT";