C-Keen has asked for the wisdom of the Perl Monks concerning the following question:
@items = split(/&/,$teststring); foreach $line (@items){ ($dummy1,$dummy2) = split(/=/,$line); $hash{$dummy1} = $dummy2; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 1: Splitting form input
by tilly (Archbishop) on Sep 24, 2001 at 16:45 UTC | |
|
Re: Splitting form input
by Caillte (Friar) on Sep 24, 2001 at 15:28 UTC | |
|
Re: Splitting form input
by tommyw (Hermit) on Sep 24, 2001 at 15:13 UTC | |
|
Re: Splitting form input
by synapse0 (Pilgrim) on Sep 24, 2001 at 15:13 UTC | |
|
Re: Splitting form input
by George_Sherston (Vicar) on Sep 24, 2001 at 18:31 UTC |