Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    
    ...
    
    sub test1 { print 'test1'; }
    sub test2 { print 'test2'; }
    
  2. or download this
    use strict;
    use warnings;
    
    ...
    
    sub test1 { print 'test1'; }
    sub test2 { my $x='test3'; &$x }