| f00li5h | revdiablo: it already fails IP6... revdiablo: just make it take .{3} CAT.SAT.ON.MAT |
| opoftheuniverse | the 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 |
| revdiablo | opoftheuniverse: The problem is, your regex matches a lot of things that aren't IPs, and misses a lot of things that are |
| f00li5h | opoftheuniverse: 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 |
| freeone3000 | What's the problem with http://pastebin.ca/470181 ? I can't find wha I'm doing wrong to cause the errors. |
| buubot | The paste 470181 has been copied to http://erxz.com/pb/2485 |
| f00li5h | opoftheuniverse: 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? |
| opoftheuniverse | http://pastecode.com/31133 f00li5h: full snippet |
| f00li5h | freeone3000: 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? |
| f00li5h | freeone3000: well, i have no idea what it's supposed to do |
| freeone3000 | Currently? 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. |
| f00li5h | freeone3000: it's hard to tell you how to patch somethign when i have no data, no current behaviour and no expected behaviour |
| opoftheuniverse | f00li5h: got it? |
| f00li5h | opoftheuniverse: as long as you have \d\\d\d\d\dd\d\d\ regex there, i'm not helping anymore |
| freeone3000 | It 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. |
| f00li5h | freeone3000: which listed errors? |
| freeone3000 | They're in the post description... Wait, did buubot steal those? No. Okay, buubot should take the post comment from pastebin.ca as well... |
| f00li5h | freeone3000: 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 |
| freeone3000 | f00li5h: To the paste section, possibly with ==== seperating it or some other line. |
| f00li5h | freeone3000: just use the pastebot in the /topic, problem solved |
| freeone3000 | Anyways. The new paste. That one better? |
| Caelum | freeone3000: it's for my $variable (@array) |
| f00li5h | freeone3000: closedir($dir): <-- that's a colon |
| TruPilot | f00li5h: sounds like freeone3000 needs a colonic |
| f00li5h | TruPilot: i was going to say "bloody stabbing to the face" but colonic is good too |
| freeone3000 | Dagh. Sorry. Those fixed it, thakns. Why bloody stabbing to the face? It can't be that bad. |
| f00li5h | sure it can |