#perl - Mon 19 Feb 2007 between 00:59 and 02:45



kcbannerI'm learning java
what object can I use to read a line of STDIN?
thrig/join ##java
kcbannerzomg I thought I was in java
actionkcbanner learns to not cover the side of xchat with another window
kcbannerlearns to not cover the side of xchat with another window
thrignope, two doors down on the right
actionCPAN upload: Term-TtyRec-Plus-0.05 by SARTAK
CPANupload: Term-TtyRec-Plus-0.05 by SARTAK
actionCPAN upload: IPC-PubSub-0.23 by AUDREYT
CPANupload: IPC-PubSub-0.23 by AUDREYT
kab3wmI 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..
revdiablokab3wm: for (@array) { s{/usr/bin/}{} }
kab3wmrevdiablo: thank you very much. I was trying s/etc/etc but wasn't getting the syntax correct. Thanks.
ireshguyAnyone know about curl here?
revdiablokab3wm: You could have done s/\/usr\/bin\///, but that's a lot uglier
kab3wmrevdiablo: I agree.
ireshguyI need some help on this curl program, if anyone here knows about it.
revdiabloireshguy: curl is not perl, rhyme notwithstanding
ireshguyWell, it's kinda related? I dunno, I was just wondering though. :<
revdiabloOk, well, I don't... maybe someone will stop by who does, though
WoostaHow is it related?
ireshguyWell, I thought it was...
apparently not. :<
Woostacurl 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)
revdiabloWoosta: Well, here is WWW::Curl
s/here/there/
WoostaRight .. which at a guess is basically: qx/curl $args/
Khisanthnot used much
libcurl
ireshguyIt's a command line tool. I'm trying to run a command on it, but so far isn't working...
WoostaTry in #{$shell}
aimnhow 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.
Woostaaimn: perldoc -f readdir
actionCPAN upload: Catalyst-Component-ACCEPT_CONTEXT-0.01 by JROCKWAY
CPANupload: Catalyst-Component-ACCEPT_CONTEXT-0.01 by JROCKWAY
actionCPAN upload: CPAN-1.88_76 (+++++) by ANDK
CPANupload: CPAN-1.88_76 (+++++) by ANDK
WoostaBAH
cfeddeo/~ world turning o/~
qasimi 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

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

IrcArchive