I see that, I know that, but I am trying to pass the value from the script.pl to the module.pm hello('test'); has been called by the script.pl
I can fix the uninitialized by using this in Foo.pm my $hello = hello() || '';
But how can I send the value from the script.pl to the Foo.pm?