pglinx has asked for the wisdom of the Perl Monks concerning the following question:
if ($edate eq "$date") #the array works fine when doing this... { @Names = (1,2,3); #but does not work the below way even though $times is pulled from a f +ile and it is pulling the same string as above. { @Names = ($times); print "<select>\n"; foreach (@Names) { print "<option>$_</option>$_\n"; } print "</select>\n"; } }
Thanks
<code> tags added by davido.
2006-04-20 Retitled by davido, as per Monastery guidelines
Original title: 'Need help'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Loading data into an array from a file problem
by GrandFather (Saint) on Apr 20, 2006 at 23:01 UTC | |
|
Re: Loading data into an array from a file problem
by eff_i_g (Curate) on Apr 20, 2006 at 22:45 UTC | |
|
Re: Loading data into an array from a file problem
by davido (Cardinal) on Apr 20, 2006 at 22:41 UTC | |
|
Re: Loading data into an array from a file problem
by eric256 (Parson) on Apr 20, 2006 at 22:33 UTC | |
by pglinx (Acolyte) on Apr 20, 2006 at 22:39 UTC | |
by davido (Cardinal) on Apr 20, 2006 at 22:45 UTC | |
by pglinx (Acolyte) on Apr 20, 2006 at 23:27 UTC | |
by davido (Cardinal) on Apr 20, 2006 at 23:32 UTC | |
by eric256 (Parson) on Apr 20, 2006 at 22:42 UTC |