| PerlJam | That sounds like behavior someone has yet to exploit fully. :-) maybe there's a golf challenge waiting for that particular behavior |
| Gigsaw | Randal, in your example, the values were already undef |
| PerlJam | Gigsaw: no they weren't; they were the even numbers |
| byleth | !pastebin pastebin nopaste meh |
| Gigsaw | ah, yeh |
| Randal | perlbot, paste > byleth gigsaw - no it lost the value the value for 3 was previously 4 repeat the experiemnt with @keys = qw(5 3 1) eval: %x = (1..10); @keys = qw(5 3 1); @y{@keys} = delete @x{@keys}; \%y |
| buubot | Randal: {'1' => 2,'3' => 4,'5' => 6} |
| Randal | see. the doubling of 3 means we lost the 3/4 pair |
| Gigsaw | got you second time around, the key lookup of three found nothing, and could only assign the key value of 3 to undef s/second time around/upon seeing the duplicate/ |
| Randal | right |
| byleth | im trying my damndest to learn this so please dont hate http://sial.org/pbot/23826 |
| Randal | wow - that's defensive. :) |
| byleth | i know how freenode operates |
| Randal | byleth - I stopped reading at the 5th line |
| action | CPAN upload: ExtUtils-ModuleMaker-0.49 (+++++) by JKEENAN |
| CPAN | upload: ExtUtils-ModuleMaker-0.49 (+++++) by JKEENAN |
| Randal | please look at "perldoc CGI" |
| Chris62vw | byleth, well, you should use the CGI module instead of printing the header out, getting the parameters by hand, etc. |
| Randal | use CGI.pm, not your own thing with $ENV{QUERY_STRING} it'll be far easier. |
| Chris62vw | byleth, the CGI module handles all of that for you |
| Randal | heh |
| byleth | it does/ |
| Chris62vw | and less error prone, of course |
| Randal | we're all agreeing |
| Chris62vw | sure it does :-) |
| byleth | this is spankin me |
| Randal | so it's got to be what you do next |