Help for this page

Select Code to Download


  1. or download this
    use Math::Random::OO qw( Uniform UniformInt Normal Bootstrap );
    
    ...
    $uni_int = UniformInt(1,6);
    $normal  = Normal(1,1);
    $boot    = Bootstrap( 2, 3, 3, 4, 4, 4, 5, 5, 5 );
    
  2. or download this
    sub import {
        my ($class, @symbols) = @_;
    ...
                eval "sub { return ${subclass}->new(\@_) }";
        }
    }
    
  3. or download this
    use Alias 'My::Long::Class::Name' => 'ShortForm';
    use Alias [ 'My::Long::Class::Name', @options ] => 'ShortForm';
    
  4. or download this
    use Nickname 'My::Long::Class::Name' => 'ShortForm';
    use Nickname [ 'My::Long::Class::Name', @options ] => 'ShortForm';