#!/usr/bin/perl-w
use strict;
my @a= (1, 2, 3, 4);
foreach my $word(@a){
print $word ;
}
try this...
Mike
-Original Message-
From: rabs [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 12, 2002 8:01 PM
To: [EMAIL PROTECTED]
Subject: Another simple program which wont work.
Hi
17:01
To: [EMAIL PROTECTED]
Subject: Another simple program which wont work.
Hi everyone Im trying to get this script to work, I am wondering if anyone
in this group can help me.
#!/usr/bin/perl-w
use strict;
@a= (1, 2, 3, 4);
foreach $word(@a){
print $word ;
}
When I run this script I get
Hi everyone Im trying to get this script to work, I am wondering if anyone
in this group can help me.
#!/usr/bin/perl-w
use strict;
@a= (1, 2, 3, 4);
foreach $word(@a){
print $word ;
}
When I run this script I get the following error messages, can you explain
in simple english they mean . A
Rabs wrote:
>
> Hi everyone Im trying to get this script to work, I am wondering if anyone
> in this group can help me.
>
> #!/usr/bin/perl-w
> use strict;
>
> @a= (1, 2, 3, 4);
> foreach $word(@a){
> print $word ;
> }
>
> When I run this script I get the following error messages, can you ex