#perl - Tue 27 Mar 2007 between 09:10 and 09:26



dazjorzeval: [a..Z]
buubotdazjorz: ['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']
dazjorzbummah.
somiandazjorz: take it to #buubot please.
masupsomian, strange, isn't it? there is of course a reason for that. You referred the number of arguments of open, didn't you?
dazjorzsomian: ok
Patternerreplace exec $cmd with system "/bin/zsh -c \"$cmd\"" :)
joepGood afternoon. I have a question about the module GD. Can anybody help?
Patternerask to ask?
maukeperlbot: ask to ask
perlbotDon't ask to ask; simply ask your question
j2daoshhello all :)
somianThe only thing I can think of to suggest is to try to run the process in a pty, masup
joepIn the examples the plot function is mentioned in: $image->plot(@somearray)
masuplet me try it, somian
joepHowever, I cannot find this function in perldoc
actionCPAN upload: Net-SIP-0.25 by SULLR
CPANupload: Net-SIP-0.25 by SULLR
j2daoshhttp://sial.org/pbot/23813
threat2hey, is there an easier way to sort a hash of a hash without needing to create an ordering function for sort to use?
j2daoshcan someone tell me why this script is getting confused and going out of order?
threat2I want to sort the inner hash by value, if the value is the same I want to sort by the outer hash key.
masupItry the system -c and it worked, somian, Patterner,
j2daoshit 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
joepNobody has experience with the GD module?
Khisanththat is besides the point, why the hell are you using $_ for that?
ofer0joep, we all have.
Khisanthjoep: it sounds like you are not using GD directly but one of the other GD:: modules
ofer0joep, please consult the docs: http://search.cpan.org/~mverb/GDGraph-1.43/Graph.pm
j2daoshKhisanth: what do you mean? i thought that was the "proper" way to do what i was attempting to do...
masupsomian 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!?!?
joepWell, thanks. But I used the example which says:$graph->plot(\@data)->$format(); and that works. Is there another module which has plot?
ofer0joep, Sorry, I don't understand what is the problem you're having.
Patternerbash as sh has some compability stuff (iirc)
Khisanthj2daosh: randomly using $_ is never "proper"
Patternermaybe <() isn't allowed as sh
somianExactly!
That is what I though from the start
thought

Page: 3 10 17 24 31 38 45 52 59 66 73 80 87 94 101 108 115 

IrcArchive