Jim Hansen graced perl with these words of wisdom:
> my $status <<EOD
>
> $a=0;
>
> foreach $server (@Servers){
^
> $a++;
>
> server $server[$a]\n
^
> }
>
> EOD
Did you use strict and warnings and declare your arrays? They are case-
sensitive, so you've got two different arrays in your code snippet.
--
Ted <fedya at bestweb dot net>
TV Announcer: It's 11:00. Do you know where your children are?
Homer: I told you last night, *no*!
<http://www.snpp.com/episodes/4F06.html>
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs