- or download this
my $open; # variable with file scope
# The sub open :
sub open_file {$open = $mw->getOpenFile( # no my here!
...
- or download this
sub get_statistics {
...
my $fastaFile = $open;
...
- or download this
sub get_statistics {
...
my $fastaFile = $current_file;
...