Help for this page

Select Code to Download


  1. or download this
    C:\test>type count.pl
    #! perl -slw
    ...
    
    say for 1 .. 1e6;
    
  2. or download this
    #! perl -slw
    use strict;
    ...
        print "\nProcess is ", $state ? 'running' : 'suspended';
    }