#perl - Wed 21 Feb 2007 between 11:40 and 11:49



merlynmemetic - what are you babbling about
use File::Find
get your list of things to act on
then do it
no need for "recursion"
somianYep, and I am an idiot because I let the darn cable co schedule a crew to come betw 1 and 3
dazjorzEvery time I see my IRC client highlight a Perl module, I feel happy, until I realise that it thinks it's an URL
somiandazjorz: I fee you
feel*
memeticRight, so perl doesn't really handle recursion very well. that's all I wanted, merlyn. Not a parade of alpha geek whinery! although I appreciate that, too.
dazjorz:)
merlynperl handles recursion JUST FINE
somianOf course
merlynit's just that directory traversal is not a recursive task
necessarily that is
somianIn *any* language it is the *code* that isn't handling that, not the "language"
If you have the right algorithm and implement it knowledgably, Perl will work fine
merlynIn fact, between "bug in Perl about recursion", and "bug in your code", I'll put heavy money on "your code"
memeticOkay, so then perl handles recursion just fine.
actionsomian must go out for food for a bit
somianmust go out for food for a bit
ca 15 minutes
merlyncalifornia 15?
memeticJust curious, but I'm assuming that perl does keep all local variables with the subroutine in tact when that subroutine calls itself, and treats them separate from those in the newly called subroutine of the same name, yes?
merlyncanadaian 15
memetic - if you use proper "my", yes
somianLOL
memeticI do.
merlynagain, it's up to YOU to write the CODE correctly
then yes
it works
memeticI'm also using strict.
merlynPerl is not fragile. It works as shown on the tin
bluefox83soooo..who here knows how to make an infobot respond to commands in chat instead of only in pm?
merlynare you using somethign POE-based?
or literally "infobot"?
actionCPAN upload: Pod-InComments-0.8 by NARKED
CPANupload: Pod-InComments-0.8 by NARKED
bluefox83the actual infobot
cfeddebluefox83: you could try messaging the bot. See what happens.
bluefox83yes thanks..that doesn't help
merlynbluefox83 - if you're just starting, stay away from infobot

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 

IrcArchive