Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    use strict;
    ...
        }
        return $sum;
    }
    
  2. or download this
    $ ./pi2.pl
    Died at ./pi2.pl line 36.
    $
    
  3. or download this
    #source 2.scope.txt 
    f Genius.pm
    b 282
    ...
    p $sub
    p $sub !~ m/^step([\d]+)/
    #save 3.scope.txt
    
  4. or download this
    $ perl -d pi2.pl
    
    Loading DB routines from perl5db.pl version 1.55
    ...
    use o inhibit_exit to avoid stopping after program termination,
    h q, h R or h o to get additional info.
      DB<10>
    
  5. or download this
    $ ./pi3.pl
    pi = 3.769908
    $
    
  6. or download this
    #!/usr/bin/perl -w
    use v5.030;
    use Path::Tiny;
    ...
      return $return;
    }
    __END__
    
  7. or download this
      use warnings;
      use 5.011;