#perl - Thu 1 Mar 2007 between 02:26 and 02:58



guest1234but what about inbuilt routines
Woostawhy?
guest1234just curious
i know symbolic refs are a *bad* idea..
but i just want to know if its possible
so...is it possible?
WoostaI'm not sure .. but you can access them via CORE:: .. so possibly ..
guest1234right, but i want to access through symbolic refs if possible
i was trying it out, and i could refer my own subs
but i couldnt get it to refer an API sub
somianhmmm/me does a little VNC'ing
ccoffeyquick easy question, but i've been up for a day :) how would i remove white space (one space) at the start of a string?
siliperlbot: re
perlbotFor regular expressions see perldoc perlretut perlrequick perlreref perlre http://xrl.us/ozni
silis/ //
s/^ //
ccoffeycool, thanks
guest1234how about someone answering my question :(
siliguest1234: sub { CORE::foo($_[0]) }
guest1234but is that flexible..i.e. can i also refer a user-defined sub with that?
thrigwouldn't &CORE::foo; avoid the need to mess with @_?
guest1234if i have CORE:: as a prefix...can i refer user-defined subs?
siliyes
guest1234ok thanks!
wogglethrig: CORE::foo is not a subroutine, sorry.
thrig: (Or, rather, it's not a subroutine corresponding to the core function.)
thrigguest1234: see also http://search.cpan.org/src/SIMONFLK/Test-MockModule-0.05/lib/Test/MockModule.pm
shortenthrig's url is at http://xrl.us/u5eb
guest1234right..will do
actionmerlyn returns from the hotel bar
merlynreturns from the hotel bar
sili73gb is tiny for a server
what the hell good is it?
ccoffeyhmmm, sorry to be a complete noob, but what would the syntax be for removing that space from @response[0] say?
thrigyou mean $response[0] ?
ccoffeyaye, i do :)
siliperlbot: re
perlbotFor regular expressions see perldoc perlretut perlrequick perlreref perlre http://xrl.us/ozni
thrigit involves =~
siliand s///
thrigand $response[0] !

Page: 5 12 19 26 33 40 47 54 61 68 75 82 89 

IrcArchive