| Randal | and $aoa[1] is your second 3000 etc |
| leku | ahh thx man |
| xp_prg | amnesiac is there some way to test if your still connected in POE? |
| amnesiac | well, only if you don't mind changing your original arry, then forget about the first copy |
| Randal | (satisfied customer)++ leku |
| amnesiac | leku, if you care about it, then yes, copy it |
| leku | I would have had 50 lines of code or something to do all of that ;) |
| Randal | yeah, I made a copy becuse that's destructive |
| sili | ah, time to break some IRC rules |
| leku | I care about all the data, I just need to make 18 lists basically |
| amnesiac | xp_prg, check the connected flag sili, NO! |
| leku | and write those lists out to a file |
| Randal | sili - wearing your hair down again? |
| xp_prg | amnesiac how do I do that? |
| sili | wait a sec... |
| amnesiac | xp_prg, dude check the docs, it is perfectly documented up there |
| xp_prg | ok |
| amnesiac | xp_prg, check the $heap->{connected} flag unsatisfied_helper++ mofino was banned? |
| sili | aha, rules broken |
| mofino | wee |
| amnesiac | why? |
| sili | amnesiac: for sucking at warcraft |
| mofino | I crossed somian |
| amnesiac | ah then ban him away if he sucks at WC3 |
| mofino | I was banished to the dark side of the moon. |
| amnesiac | s/away/again/ |
| mofino | I wanted to say hello to the dngor |
| Aankhen`` | What is the most efficient way to alter all but the last elements of an element? What I have right now is simply a for loop: my $i = 0; for ($i = 0; i < $#arr; $i++) { $arr[$i] .= "foo" if defined $arr[$i + 1]; } |
| mofino | but I was unable too |
| Aankhen`` | s/an element/an array/, sorry. |
| dngor | Hi, mofino! |
| mofino | Hello! |
| amnesiac | $array[-1] |
| mofino | dngor, how are you doing anyway? |