| kcbanner | I'm learning java what object can I use to read a line of STDIN? |
| thrig | /join ##java |
| kcbanner | zomg I thought I was in java |
| action | kcbanner learns to not cover the side of xchat with another window |
| kcbanner | learns to not cover the side of xchat with another window |
| thrig | nope, two doors down on the right |
| action | CPAN upload: Term-TtyRec-Plus-0.05 by SARTAK |
| CPAN | upload: Term-TtyRec-Plus-0.05 by SARTAK |
| action | CPAN upload: IPC-PubSub-0.23 by AUDREYT |
| CPAN | upload: IPC-PubSub-0.23 by AUDREYT |
| kab3wm | I can't seem to figure this out. I am trying to modify the values in an array. I will not know how many items are in the array, so I am doing a foreach loop on the array. Basicly, I have strings like this in the array : /usr/bin/stuff, /usr/bin/morestuff, etc. I need to remove the /usr/bin/ from the string. I'm sure this is easy, but I can't find anything in my book and I'm probably not describing the problem correctly to Google.. |
| revdiablo | kab3wm: for (@array) { s{/usr/bin/}{} } |
| kab3wm | revdiablo: thank you very much. I was trying s/etc/etc but wasn't getting the syntax correct. Thanks. |
| ireshguy | Anyone know about curl here? |
| revdiablo | kab3wm: You could have done s/\/usr\/bin\///, but that's a lot uglier |
| kab3wm | revdiablo: I agree. |
| ireshguy | I need some help on this curl program, if anyone here knows about it. |
| revdiablo | ireshguy: curl is not perl, rhyme notwithstanding |
| ireshguy | Well, it's kinda related? I dunno, I was just wondering though. :< |
| revdiablo | Ok, well, I don't... maybe someone will stop by who does, though |
| Woosta | How is it related? |
| ireshguy | Well, I thought it was... apparently not. :< |
| Woosta | curl is either (a) a command line tool or (b) a PHP command that interfaces the command line tool. In perl we have LWP .. Unless I'm mistaken about (a) and (b) |
| revdiablo | Woosta: Well, here is WWW::Curl s/here/there/ |
| Woosta | Right .. which at a guess is basically: qx/curl $args/ |
| Khisanth | not used much libcurl |
| ireshguy | It's a command line tool. I'm trying to run a command on it, but so far isn't working... |
| Woosta | Try in #{$shell} |
| aimn | how does one go about stepping through lines of files in a particular directory? can we use foreach to step through the files or are there any filehandles specifically that does that? on win32. |
| Woosta | aimn: perldoc -f readdir |
| action | CPAN upload: Catalyst-Component-ACCEPT_CONTEXT-0.01 by JROCKWAY |
| CPAN | upload: Catalyst-Component-ACCEPT_CONTEXT-0.01 by JROCKWAY |
| action | CPAN upload: CPAN-1.88_76 (+++++) by ANDK |
| CPAN | upload: CPAN-1.88_76 (+++++) by ANDK |
| Woosta | BAH |
| cfedde | o/~ world turning o/~ |
| qasim | i need a help with getopt how can i call functions with getopt defined symbols is there any good tutorial on it apart from cpan thing |