Loading ...
Sorry, an error occurred while loading the content.

Re: [PBML] File processing

Expand Messages
  • Shawn Corey
    ... my $returned = system( blah blah blah ... ); if( $returned == -1 ){ die cannot start blah blah blah: $! ; } my $status = ( $returned 8 ); if( $status
    Message 1 of 3 , Oct 25, 2005
    • 0 Attachment
      Jeff 'japhy' Pinyan wrote:
      > system("perl $_") == 0 or die "$_ failed: $!";

      my $returned = system( 'blah blah blah ...' );
      if( $returned == -1 ){
      die "cannot start blah blah blah: $!";
      }
      my $status = ( $returned >> 8 );
      if( $status ){
      die "system blah blah blah exited with non-zero status $status";
      }

      __END__

      See `perldoc -f system` for details.



      --- Shawn
    Your message has been successfully submitted and would be delivered to recipients shortly.