Title: Re: masks earlier declaration in same scope

Hello,

I have a parameter

my $name0 = "c:/test";

$name0 is used for opening a file throughout my program.

I have used it more than once and therefore it says that $name0 masks earlier declaration in same scope.

I have tried to undef $name0 but it still get this error.

The program will run but I would like to remove this error altogether.

What would you recommend I do in this case.

Many thanks,

Jonathan

Reply via email to