Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    sub set_global {$global = shift}
    sub get_global {$global}
    sub say_global {say $global}
    
  2. or download this
    package Blabla;
    
    our @ISA = qw[Exporter];
    use Exporter();
    our @EXPORT = qw[$global1 $global2 $global3];
    
  3. or download this
    use Blabla;