RE: Assigning elements to array (U)

2004-03-01 Thread Meidling, Keith, CTR, ISD
ssage- From: Bob Showalter [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 9:37 AM To: 'Meidling, Keith, CTR, ISD'; [EMAIL PROTECTED] Subject: RE: Assigning elements to array (U) Meidling, Keith, CTR, ISD wrote: > UNCLASSIFIED > > I tried that, and I get the foll

Re: Assigning elements to array (U)

2004-03-01 Thread WC -Sx- Jones
Bob Showalter wrote: 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 yo

RE: Assigning elements to array (U)

2004-03-01 Thread Bob Showalter
o it, AFAIK. > > I'm running Active State Perl 5.6 on Windows 2000 Pro. > > -Original Message- > From: Gary Stainburn [mailto:[EMAIL PROTECTED] > Sent: Monday, March 01, 2004 8:57 AM > To: Meidling, Keith, CTR, ISD; [EMAIL PROTECTED] > Subject: Re: Assigning el

Re: Assigning elements to array (U)

2004-03-01 Thread WC -Sx- Jones
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.ex

RE: Assigning elements to array (U)

2004-03-01 Thread Meidling, Keith, CTR, ISD
to:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 8:57 AM To: Meidling, Keith, CTR, ISD; [EMAIL PROTECTED] Subject: Re: Assigning elements to array (U) On Monday 01 March 2004 1:54 pm, Meidling, Keith, CTR, ISD wrote: > UNCLASSIFIED > > How can I assign elements to an array that have

Re: Assigning elements to array (U)

2004-03-01 Thread Gary Stainburn
On Monday 01 March 2004 1:54 pm, Meidling, Keith, CTR, ISD wrote: > 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