#perl - Fri 4 May 2007 between 01:50 and 02:04



f00li5hrevdiablo: it already fails IP6...
revdiablo: just make it take .{3}
CAT.SAT.ON.MAT
opoftheuniversethe lines is if the entry is a ip(the regex) and if the ip is not present in the list(the second condition) then block
revdiabloopoftheuniverse: The problem is, your regex matches a lot of things that aren't IPs, and misses a lot of things that are
f00li5hopoftheuniverse: you see, i don't cache questions people ask me, so if you ask the same question twice, i have to figure out the answer again
and i really don't like re-solving a problem that you've been told the answer to 3 or 4 times
freeone3000What's the problem with http://pastebin.ca/470181 ? I can't find wha I'm doing wrong to cause the errors.
buubotThe paste 470181 has been copied to http://erxz.com/pb/2485
f00li5hopoftheuniverse: so, read the scrollback, then paste a new snippit of code, and we can have a look at that
freeone3000: meow
freeone3000: that code is horrible, you should be shot
what the hell is it for?
opoftheuniversehttp://pastecode.com/31133
f00li5h: full snippet
f00li5hfreeone3000: list test cases below your code (ideally with Test::More) and above, include a =head1 what it's for =cut
freeone3000...What's wrong with that?
f00li5hfreeone3000: well, i have no idea what it's supposed to do
freeone3000Currently? preform a set of transforms on a string, there's a few calls I'm not doing yet and I decided to test. The errors occur on execution.
f00li5hfreeone3000: it's hard to tell you how to patch somethign when i have no data, no current behaviour and no expected behaviour
opoftheuniversef00li5h: got it?
f00li5hopoftheuniverse: as long as you have \d\\d\d\d\dd\d\d\ regex there, i'm not helping anymore
freeone3000It should execute, read the names of all files in the current directory, and apply the regex to each of them, printing the origonal and result. It spits out the listed errors on attempted run.
f00li5hfreeone3000: which listed errors?
freeone3000They're in the post description...
Wait, did buubot steal those?
No. Okay, buubot should take the post comment from pastebin.ca as well...
f00li5hfreeone3000: yeah, i guess so
freeone3000: and take it where, the paste bin has 4 fields ... nick, chan, title and paste
erxz_paste"freeone3000" at 71.6.194.243 pasted "Errors with variables in simple script" (31 lines) at http://erxz.com/pb/2486
freeone3000f00li5h: To the paste section, possibly with ==== seperating it or some other line.
f00li5hfreeone3000: just use the pastebot in the /topic, problem solved
freeone3000Anyways. The new paste. That one better?
Caelumfreeone3000: it's for my $variable (@array)
f00li5hfreeone3000: closedir($dir): <-- that's a colon
TruPilotf00li5h: sounds like freeone3000 needs a colonic
f00li5hTruPilot: i was going to say "bloody stabbing to the face" but colonic is good too
freeone3000Dagh. Sorry. Those fixed it, thakns.
Why bloody stabbing to the face? It can't be that bad.
f00li5hsure it can

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

IrcArchive