Help for this page

Select Code to Download


  1. or download this
      use Test::More tests => 5;
    
  2. or download this
      package sample;
      our $value = 0;
    ...
    
      sub sub1 () {$value + 1}
      1;
    
  3. or download this
      #! /usr/bin/perl -w
      use strict;
      use sample value => 5;
    
      print sub1() , "\n";