Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Use Perl Debugger, where input is the output from shell script

by Anonymous Monk
on Jul 24, 2013 at 19:17 UTC ( #1046186=note: print w/replies, xml ) Need Help??


in reply to Re: Use Perl Debugger, where input is the output from shell script
in thread Use Perl Debugger, where input is the output from shell script

could you please give some resources with examples

  • Comment on Re^2: Use Perl Debugger, where input is the output from shell script

Replies are listed 'Best First'.
Re^3: Use Perl Debugger, where input is the output from shell script
by pemungkah (Priest) on Jul 26, 2013 at 02:26 UTC
    Take a gander at Devel::Command::Tdump for an example of using the typeahead buffer. Debug::Client seems to be a client to talk to the debugger port.

    I don't see any examples of using the filehandle stack - you probably have to do that one yourself if it turns out to be the solution you need - but the basic setup that Devel::Command::Tdump uses, of setting things up in .perldb, is probably the right point to start from; open a pipe to your client program in the BEGIN block, and push it onto @DB::cmdfhs. The debugger will read from it until it returns EOF or a 'q'commmand is seen.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1046186]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2016-12-03 14:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (56 votes). Check out past polls.