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



Khisanthand then there is chomping $genre for no apparent reason
threat2am I on channel ignore or something?
masupsomian and Patterner: but why it happens if /bin/sh is a symbolic link to /bin/bash ?
somianYou could try BEGIN { $ENV{SHELL}= '/bin/bash' } ....
joepofert: thanks. I've found it.
somianI bet that does it.
ofer0(satisfied customer)++
masupsomian, OK, good suggestion
Khisanthj2daosh: that should just be my $directory = $indir . $genre;
somianPatterner++ # even if he is a bit of twink
Patternermasup: because perl calls /bin/sh and that puts bash in IDon'tDoIt mode
ofer0threat2, what exactly are you trying to do ?
j2daoshyeah i just wanted to make sure that there wasn't a new line. i know there shouldn't be because i didn't put new lines in but its force of habit at this poiint because i have burned myself alot by that :P
ofer0threat2, show the structure that you are trying to sort
j2daoshoh yeah
i suppose... since i'm doing the foreach it would have it right
actionj2daosh needs to work on seeing the /obvious/ problems
j2daoshneeds to work on seeing the /obvious/ problems
masupPatterner: well, I wasn't aware of that kind of mode (IDon'tDoIt). I'll try to read further more about it. But thanks for explanation (you and somian)
ofer0j2daosh, why are you using opendir() instead of glob()?
actionj2daosh shrugs
j2daoshshrugs
opendir was the first thing that came to mind
well actually open was the first thing but windows didn't like that one
ofer0you are doing lots of stupid stuff. this is Perl, not C code
threat2ofer0: hmmmm
ofer0: hash of a hash
ofer0threat2, can you show an example of what you're trying to sort ?
threat2ofer0: not really
ofer0threat2, then I can't help you, sorry. I don't understand what you're trying to do
somianIt didn't work here, did it work, for you, masup ?
j2daoshwhere can i get some info on how to match a string to an array?
ofer0j2daosh, perldoc perlretut, perldoc perlre
j2daoshignore that, worded wrong
threat2ofer0: my %hash = ("user1" => ("time" => 3232), "user2" => ("time" => 1211));
ofer0: does that make more sense?
j2daoshhow do i see if $foo matches any string in @bar
ofer0threat2, now, what you are trying to sort? 3232, 1211 ?
j2daoshor a doc on that
maukethreat2: no
threat2ofer0: by time, then by user
ofer0j2daosh, perldoc perlretut, perldoc perlre

Page: 4 11 18 25 32 39 46 53 60 67 74 81 88 95 102 109 116 

IrcArchive