| dhar | wow i cant believe that hash assignment from list context actually works that is freakin ridiculous |
| buu | "This will not obliterate the hash, it will assign a single key/value pair of undef/undef. If you want to remove all keys from the hash, but still keep %hash as an "active" variable, use: %hash = (); " |
| hobbs | dhar: er, of course it does. That's the only way to "assign a hash". |
| dhar | hobbs: umm no |
| hobbs | dhar: umm yes. |
| dhar | hobbs: you must be referring to something else |
| buu | dhar: You can ONLY assign a LIST to a HASH. |
| hobbs | dhar: yes, the "something else" is called Perl. |
| buu | (As an aggregate data structure) |
| dhar | I'm talking about omitting the => no need to break out your e-peens |
| buu | dhar: What do you think the '=>' does ? |
| hobbs | dhar: then perhaps you should say that instead of something completely unrelated, misleading, and wrong. |
| poo- | why do you use perl versus other languages? |
| action | dhar shakes head |
| dhar | shakes head |
| hollo | buu, okay :) then i will keep in mind that this is ugly.. but i dont expect that i will become a guru to this socket programming tonight.. have to make some fuckups before i know what can go wrong |
| hobbs | dhar: seeing as how when you use the =>, guess what, you're ASSIGNING FROM A LIST. |
| cyth | poo-, work |
| dhar | pick on someone else |
| buu | Why? |
| poo- | work? |
| cyth | yes what i use at work |
| action | dhar goes back to something more productive than defending himself |
| dhar | goes back to something more productive than defending himself |
| hobbs | poo-: "they pay me to" is a reason :) |
| cyth | I use perl personally for just scripting when I need it done... not what I mainly use though |
| Trengo | a great reason :) |
| NOTevil | poo-: cpan is another good reason. (but work/pay is a good reason for myself as well.) |
| cfedde | cyth: what do you mainly use? |
| cyth | cfedde, depends on what I'm doing |
| buu | $hashref = %hash; foreach my $key (sort ascend_alpha keys %{$hashref}){ |
| cyth | webdev stuff, mostly php, desktop apps: C# or Java |
| rindolf | Success! my fresh Perl Test::Run has ran its own tests. |
| Trengo | i can use whatever i like, perl's quicker to develop and runs faster than most alternatives |
| rindolf | Now I can go to sleep. |
| cyth | moding apache C |