Help for this page

Select Code to Download


  1. or download this
    if( @ARGV ){
        $SIG{INT} = \&exit_gracefully;
    ...
        exit (2);
    }
    __END__
    
  2. or download this
    C:\>perl \dev\loose\perlfunc.exit.pl
    calling system
    ...
    C:\>called Program interrupted ..
    
    C:\>
    
  3. or download this
    user@host:~$ perl perlfunc.exit.pl
    calling system
    ...
    user@host:~$
    user@host:~$