Jonathan, The my declaration for a variable such as should appear only once in a given scope. After you have declared it, you can then assign to that declared variable as many times as you need. my $name0 = "c:/test"; . . . $name0 = "c:/file2"; . . . $name0 = "c:/output.txt"; Does that help? _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
- Re: masks earlier declaration in same scope Alloun, Jonathan
- Re: masks earlier declaration in same scope Carl Jolley
- Re: masks earlier declaration in same scope Chuck . Hirstius
- RE: masks earlier declaration in same scope Alloun, Jonathan
- RE: masks earlier declaration in same scope Chuck . Hirstius
- RE: masks earlier declaration in same scope Cornish, Merrill
- RE: masks earlier declaration in same scope Alloun, Jonathan
- Re: masks earlier declaration in same scope $Bill Luebkert