Help for this page

Select Code to Download


  1. or download this
     #/usr/bin/perl -w
    use strict;
    use warnings;
    ...
        sleep 3;
        print "exiting thread.\n";
    }
    
  2. or download this
     output:
    End.
    Perl exited with active threads:
    ...
            0 finished and unjoined
            1 running and detached