This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Commit | Line | Data |
076b743f SF |
1 | package MyModule; |
2 | |
3 | use strict; |
4 | use warnings; |
5 | |
6 | use vars qw($var); |
7 | |
8 | $var = "Bar"; |
9 | |
10 | sub function |
11 | { |
12 | print "In MyModule.\n"; |
13 | } |
14 | |
15 | 1; |