use strict; use warnings; use Foo; hello('test');
Thanks for looking!package Foo; use strict; use warnings; use base 'Exporter'; our @EXPORT_OK = qw( hello ); my $hello = hello(); sub hello { my $h = shift; return; } print $hello; 1;
In reply to Passing value to a Perl module by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |