On 6/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
The problem is that when I reference a variable in the second while loop that I initialized in the first while loop, the script doesn't recognize it.
You need to assign to a variable from an outer scope while executing the inner scope. Try declaring your variable, with 'my', in the outer scope. That is, the variable should be declared in the innermost scope in which it will be needed; you've declared yours in too narrow a scope.
I tried to make it a global variable at the beginning by using "our @SLPdataSFO = ();" to make it a global variable, but no luck there.
You must have done something else wrong, since that should work. But a 'my' variable is a better choice than a global, generally. Good luck with it! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/