Meidling, Keith, CTR, ISD wrote:
UNCLASSIFIED
It is classified;
You should only get that warning if you used qw(), which Gary didn't.
@arr = qw('foo bar', 'baz qux'); # incorrect; gives warning @arr = ('foo bar', 'baz qux'); # correct; assigns two elements
If your question is about using embedded whitespace in a qw list, you can't do it, AFAIK.
Messy -
#! C:\perl\bin\perl.exe -w #! /usr/bin/perl -w
use strict;
my @array = q("Start test","Stop test");
print @array; print "\n";
foreach (@array) {
s/\"//g;
print "$_\n";
}__END__
-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>
