| dazjorz | eval: [a..Z] |
| buubot | dazjorz: ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'] |
| dazjorz | bummah. |
| somian | dazjorz: take it to #buubot please. |
| masup | somian, strange, isn't it? there is of course a reason for that. You referred the number of arguments of open, didn't you? |
| dazjorz | somian: ok |
| Patterner | replace exec $cmd with system "/bin/zsh -c \"$cmd\"" :) |
| joep | Good afternoon. I have a question about the module GD. Can anybody help? |
| Patterner | ask to ask? |
| mauke | perlbot: ask to ask |
| perlbot | Don't ask to ask; simply ask your question |
| j2daosh | hello all :) |
| somian | The only thing I can think of to suggest is to try to run the process in a pty, masup |
| joep | In the examples the plot function is mentioned in: $image->plot(@somearray) |
| masup | let me try it, somian |
| joep | However, I cannot find this function in perldoc |
| action | CPAN upload: Net-SIP-0.25 by SULLR |
| CPAN | upload: Net-SIP-0.25 by SULLR |
| j2daosh | http://sial.org/pbot/23813 |
| threat2 | hey, is there an easier way to sort a hash of a hash without needing to create an ordering function for sort to use? |
| j2daosh | can someone tell me why this script is getting confused and going out of order? |
| threat2 | I want to sort the inner hash by value, if the value is the same I want to sort by the outer hash key. |
| masup | Itry the system -c and it worked, somian, Patterner, |
| j2daosh | it gets the genre name (which is also a sub dir of the parent dir 'music') and then does opendir on it to get file listing.... however, it takes my 'recent_music' and calls it 'alternative' and screws up the opendir maybe i shouldn't use $genre[$_++].... maybe i should do it the long way and make a $genre_cnt var and increment that at the end of the for loop... im going to try that and see if it yields different results |
| joep | Nobody has experience with the GD module? |
| Khisanth | that is besides the point, why the hell are you using $_ for that? |
| ofer0 | joep, we all have. |
| Khisanth | joep: it sounds like you are not using GD directly but one of the other GD:: modules |
| ofer0 | joep, please consult the docs: http://search.cpan.org/~mverb/GDGraph-1.43/Graph.pm |
| j2daosh | Khisanth: what do you mean? i thought that was the "proper" way to do what i was attempting to do... |
| masup | somian and Patterner: the problem happens with /bin/sh or without specifying the shell. If I use /bin/bash or /bin/zsh it works fine. The strange thing is /bin/sh is a symbolic link to /bin/bash!?!? |
| joep | Well, thanks. But I used the example which says:$graph->plot(\@data)->$format(); and that works. Is there another module which has plot? |
| ofer0 | joep, Sorry, I don't understand what is the problem you're having. |
| Patterner | bash as sh has some compability stuff (iirc) |
| Khisanth | j2daosh: randomly using $_ is never "proper" |
| Patterner | maybe <() isn't allowed as sh |
| somian | Exactly! That is what I though from the start thought |