Re: qw with strings containing spaces

2007-08-09 Thread usenet
On Aug 9, 11:58 am, [EMAIL PROTECTED] (Mathew Snyder) wrote: > What I am doing is declaring an array and assigning the value: > @array = qw/All "A - H" "I - P" "Q - Z"/; You don't want qw{} here. Just do it the brute-force way: @array = ("All", "A - H", "I - P", "Q - Z"); -- The best way to

Re: qw with strings containing spaces

2007-08-09 Thread Mathew Snyder
John W. Krahn wrote: > Mathew Snyder wrote: >> I need to populate a select multiple on a web page when it loads with >> a series >> of values. Most of the values will be determined dynamically when the >> code runs >> but some are static. They look like "A - H", "I - P" and "Q - Z". >> The space

Re: qw with strings containing spaces

2007-08-09 Thread John W. Krahn
Mathew Snyder wrote: I need to populate a select multiple on a web page when it loads with a series of values. Most of the values will be determined dynamically when the code runs but some are static. They look like "A - H", "I - P" and "Q - Z". The spaces are for readability. What I am doing

Re: qw with strings containing spaces

2007-08-09 Thread Flemming Greve Skovengaard
Mathew Snyder wrote: I need to populate a select multiple on a web page when it loads with a series of values. Most of the values will be determined dynamically when the code runs but some are static. They look like "A - H", "I - P" and "Q - Z". The spaces are for readability. What I am doing