Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
This stores only the first form field/variable and forgets everything else. But if you join the variables, it works.$users{$username}"$password::$name::$email::$website::$start";
Can someone explain why you can't manually add your own delimiters in this particular line?my $data = join("::", $password, $name, $email, $website, $start); $users{$username} = $data;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Manually adding delimiters instead of join()
by borisz (Canon) on Oct 12, 2004 at 17:23 UTC | |
|
Re: Manually adding delimiters instead of join()
by kvale (Monsignor) on Oct 12, 2004 at 17:26 UTC | |
|
Re: Manually adding delimiters instead of join()
by dragonchild (Archbishop) on Oct 12, 2004 at 17:37 UTC | |
| |
|
Re: Manually adding delimiters instead of join()
by dave_the_m (Monsignor) on Oct 12, 2004 at 17:30 UTC | |
|
Re: Manually adding delimiters instead of join()
by gawatkins (Monsignor) on Oct 12, 2004 at 20:32 UTC | |
by periapt (Hermit) on Oct 13, 2004 at 12:23 UTC |