#perl - Fri 16 Mar 2007 between 17:47 and 17:52



rindolfdazjorz: my fellow to the conversation tells me it wasn't working for some time.
LeRrAOw, thanks rickest :) I will look at it!
rindolflerra: note that it still rewrites the file behinds the scenes.
dazjorzrindolf: "The MSN servers are temporarily unavailable. Please wait and try again."
rindolfcactusbin: where do you see that.
dazjorz: don't know then.
cactusbin: ?
cactusbinwhat do u mean
rindolfcactusbin: the splice thing.
cactusbinI want to remove the first 2 elements of the array
dazjorzalso Connection error from Notification server: Reading error
Chris62vwthat is super easy
rindolfcactusbin: ah, I see.
cactusbin: you can do shift twice.
cactusbinoh
thats simple...
Chris62vwshift @ary for 1,2;
rindolfcactusbin: splice will also work, but in this case it's unnecessary.
cactusbinok
thanks
rindolfETOOMANYTABSOPEN
hobbsassuming that . and .. are the first two results from readdir is not recommended
cactusbinok
so I should do a regex?
hobbsnot particularly.
bpalmer_sure, grep it out
cactusbinthere arn't any hidden files..
what would be the solution
hobbshow about grep { $_ ne '.' and $_ ne '..' }
rindolfcactusbin: use File::Spec
hobbssay what you mean, and all that
rindolfcactusbin: it has a File::Spec->no_upwards() function.
cactusbini cant click...
rindolfcactusbin: what?
cactusbinsorry
bpalmer_two 'ne's vs a !/^\.{1,2}$/ ... don't think it matters all that much
cactusbinwrong window
rindolfcactusbin: no problem.
No Problem complete
hobbsbpalmer_: I try to discourage unnecessary use of regexes. It doesn't matter _here_, I just like to break the habit

Page: 1 8 15 22 29 36 43 50 57 64 71 78 85 92 99 106 

IrcArchive