UNCLASSIFIED

How can I assign elements to an array that have spaces in them?

Say I have two elements that I want to put into an array, one is 'Start
test' the other is 'stop test'. The only way I know how to do this is by the
following.

my @array;

$array[0]="Start test";
$array[1]="Stop test";

Is there an easier way?

-- 
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