| cld2 | how can I make perl show me everything its doing while running a script? is there a verbose mode? |
| Daveman | Foolish, how's the code? |
| somian | Have Daveman share the url to the log of the private chat he posted, f00li5h. |
| f00li5h | Daveman: it's between ok and terrible, depending on wether you consider POD/test coverage |
| somian | ttfn |
| f00li5h | Daveman: do tell |
| avar | cld2: tried the debugger? cld2: the most user friendly thing is probably perl debugger + emacs + gud not nearly as good as slime, but... |
| Daveman | ah okay :) avars |
| cld2 | avar: no, I dont know whats going on. is there an option for the #!/bin/perl to make it be a little louder. this script on one of our servers just stopped working and I dont know why. I didnt write it and my perl is about .5 on a scale of 1-10 avar: also, thanks. |
| avar | Daveman: tried the perl debugger+emacs+gud ? |
| action | Randal wakes up, rolls over, and enters the home office |
| Randal | wakes up, rolls over, and enters the home office |
| f00li5h | Randal: \o/ |
| avar | cld2: you can trace ops being executed with B::* but the best way is really the debugger |
| Daveman | avar, nope, sorry. |
| avar | it allows you to step through the code being executed, inspect data, change it etc |
| Ceran | hi, I need to search apache's vhosts.conf for a ServerName matching a domain name. What's the easiest way to do that? |
| Randal | from mod_perl? |
| Ceran | no, just from a normal script |
| Randal | if it was mod_perl2, you'd have the whole configuration available as a data structure it's quite cool |
| avar | so it is useful for something |
| Ceran | In my case, I don't have access to install something like mod_perl I'm looking for a regex solution. |
| erxz_paste | Someone at 71.6.194.243 pasted "foreach my $line ( @contents )" (6 lines) at http://erxz.com/pb/1937 |
| Ceran | right now I'm trying something like that just iterating through each line, and testing for a pattern match But it's not matching anything. |
| cld2 | avar: thanks. I found a good howto on the debugger. I guess I know what ill be doing today :) |
| avar | cld2: it's much prettier in emacs:) |
| Ceran | basically, I'm given "somedomain.com" and I need to find the line in the form of "ServerName www.somedomain.com" |
| Daveman | I should write a pearl program soon |
| avar | what else wraps the debugger, activestate? |
| cld2 | avar: I dont follow. Im a vi person so im quite inept at emacs. is it simple to put it in emacs? |
| action | CPAN upload: IO-All-LWP-0.13 by ITUB |
| CPAN | upload: IO-All-LWP-0.13 by ITUB |
| avar | yes it just provides a prettier interface |