Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    # producer.pl
    ...
            syswrite(STDOUT,"Hello\n",length("Hello\n"));
            sleep(2);
    }
    
  2. or download this
    #!/usr/bin/perl -w
    # consumer.pl
    ...
        }
    }
    =cut