Meidling, Keith, CTR, ISD wrote:
UNCLASSIFIED

I tried that, and I get the following error...

Possible attempt to separate words with commas at C:\test.plx line
 6.
'Start
test',
'Stop
test'

I'm running Active State Perl 5.6 on Windows 2000 Pro.


You are saying this code:

#! C:\perl\bin\perl.exe -w
#! /usr/bin/perl -w

use strict;

my @array=('Start test','Stop test');

foreach (@array) {
    print "$_\n";
}

__END__


Doesn't work on your system? I would imagine you have a run-time error else where or your code is not -w safe.


-Bill-
__Sx__________________________________________
http://youve-reached-the.endoftheinternet.org/

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to