Help for this page

Select Code to Download


  1. or download this
        # Avoid thrashing this procedure
        # Note Perl does not support usleep
    ...
        #    'select undef, undef, undef, 0.1;'
        # to sleep for (at least) 0.1 seconds
        sleep(100);
    
  2. or download this
    use OpenGL qw(:all);    # Use the OpenGL module
    use strict;             # Use strict typechecking
    use Time::HiRes qw[ usleep ];
    
  3. or download this
        # to sleep for (at least) 0.1 seconds
        usleep(100);