| matadon | jjore: In this case, I'm actually matching against Japanese characters; but I think '.*?' was what I forgot about. Yep, works like a charm. |
| Bogaurd | hi - is there a simple way in perl to do something equiv to the linux 'tail' command? I googled and found a module, but am not sure of how to go about using it |
| matadon | Thanks! |
| Jmax- | Bogaurd: File::Tail |
| yzf600 | howdy |
| datrus | hello |
| yzf600 | hey |
| erxz_paste | "yzf600" at 71.6.194.243 pasted "Why can't CGI parse this form "POST" data correctly?" (14 lines) at http://erxz.com/pb/2335 |
| FuzzyB | is there an easy way to get the epoch of the current date/time? |
| yzf600 | FuzzyB: use Time::Local; $TIME = timelocal($sec, $min, $hours, $mday, $mon, $year); |
| FuzzyB | aah ok |
| Jmax- | uh, Time::Local? |
| datrus | i'm using client-http in POE. but i can't figure how to receive an event if a request expires without getting a response within the given timeout. anyone here uses the client-http POE component? |
| Jmax- | why not use localtime() ? |
| yzf600 | FuzzyB: see solution here: http://72.14.209.104/search?q=cache:www.unix.org.ua/orelly/perl/cookbook/ch03_04.htm |
| shorten | yzf600's url is at http://xrl.us/vuwo |
| FuzzyB | ty |
| Jmax- | oh, nm |
| yzf600 | oh, yea - I misread his questions whoopse FuzzyB: use do this: $epoch = localtime(); whew - my grammar is quite terrible tonight perlbot: localtime |
| ArmOrAttAk | GumbyBRAIN: any thoughts on using `ls` as opposed to readdir()? |
| GumbyBRAIN | Why is that not using it on to the server. |
| shigetsu_ | ArmOrAttAk, you could consider glob() too. |
| ArmOrAttAk | really hm i must've missed that there was something else too.. |