Sample output without using sleep ( win98 - ActiveState 5.8.0 build ): C:\Perl\bin\hw>perl pg5.pl I'm a perl programmer! I like computing! 'Thread1' returned Threading in perl is fun! 'Thread2' returned Computing is cool! C:\Perl\bin\hw>perl pg5.pl I'm a perl programmer! I like computing! 'Thread1' returned Threading in perl is fun! 'Thread2' returned Computing is cool! C:\Perl\bin\hw>perl pg5.pl I'm a perl programmer! I like computing! 'Thread1' returned Threading in perl is fun! 'Thread2' returned Computing is cool! C:\Perl\bin\hw>perl pg5.pl I'm a perl programmer! I like computing! 'Thread1' returned Threading in perl is fun! 'Thread2' returned Computing is cool! C:\Perl\bin\hw>