in reply to Passing value to a Perl module
You have not imported hello into script.pl. Change your use statement to:
use Foo qw/hello/;
and try again. See Exporter for examples.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Passing value to a Perl module
by Anonymous Monk on Jan 10, 2018 at 16:15 UTC | |
by hippo (Archbishop) on Jan 10, 2018 at 16:21 UTC | |
by stevieb (Canon) on Jan 10, 2018 at 16:22 UTC | |
by Anonymous Monk on Jan 10, 2018 at 16:32 UTC | |
by AnomalousMonk (Archbishop) on Jan 10, 2018 at 17:33 UTC | |
by NetWallah (Canon) on Jan 10, 2018 at 16:53 UTC |