#perl - Wed 28 Mar 2007 between 11:22 and 11:33



cld2how can I make perl show me everything its doing while running a script? is there a verbose mode?
DavemanFoolish, how's the code?
somianHave Daveman share the url to the log of the private chat he posted, f00li5h.
f00li5hDaveman: it's between ok and terrible, depending on wether you consider POD/test coverage
somianttfn
f00li5hDaveman: do tell
avarcld2: tried the debugger?
cld2: the most user friendly thing is probably perl debugger + emacs + gud
not nearly as good as slime, but...
Davemanah okay :)
avars
cld2avar: 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.
avarDaveman: tried the perl debugger+emacs+gud
?
actionRandal wakes up, rolls over, and enters the home office
Randalwakes up, rolls over, and enters the home office
f00li5hRandal: \o/
avarcld2: you can trace ops being executed with B::* but the best way is really the debugger
Davemanavar, nope, sorry.
avarit allows you to step through the code being executed, inspect data, change it etc
Ceranhi, I need to search apache's vhosts.conf for a ServerName matching a domain name. What's the easiest way to do that?
Randalfrom mod_perl?
Ceranno, just from a normal script
Randalif it was mod_perl2, you'd have the whole configuration available as a data structure
it's quite cool
avarso it is useful for something
CeranIn my case, I don't have access to install something like mod_perl
I'm looking for a regex solution.
erxz_pasteSomeone at 71.6.194.243 pasted "foreach my $line ( @contents )" (6 lines) at http://erxz.com/pb/1937
Ceranright now I'm trying something like that
just iterating through each line, and testing for a pattern match
But it's not matching anything.
cld2avar: thanks. I found a good howto on the debugger. I guess I know what ill be doing today :)
avarcld2: it's much prettier in emacs:)
Ceranbasically, I'm given "somedomain.com" and I need to find the line in the form of "ServerName www.somedomain.com"
DavemanI should write a pearl program soon
avarwhat else wraps the debugger, activestate?
cld2avar: I dont follow. Im a vi person so im quite inept at emacs. is it simple to put it in emacs?
actionCPAN upload: IO-All-LWP-0.13 by ITUB
CPANupload: IO-All-LWP-0.13 by ITUB
avaryes it just provides a prettier interface

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

IrcArchive