Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Emacs, perldb - edit cmd line args from within

by Ray Smith (Beadle)
on Feb 17, 2006 at 22:24 UTC ( [id://531090]=note: print w/replies, xml ) Need Help??


in reply to Re: Emacs, perldb - edit cmd line args from within
in thread Emacs, perldb - edit cmd line args from within

Your workaround is a good idea. The perldb command "R" does indeed automatically stop at the beginning so one can edit the contents of @ARGV. But it would be nice to work in the command line style, specially if one might be able to cut and past in a new command line. It seems strange that perldb allows you to make source code changes and restart and it doesn't support some hack to support updating the command line. I suppose one could create some sort of function that would populate @ARGS that could be invoked before continguing - e.g. > cmdfix("-foo bar") but that just doesn't seem very elegant.
  • Comment on Re^2: Emacs, perldb - edit cmd line args from within

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://531090]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-04-23 16:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found