Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Keep It Simple, Stupid
 
PerlMonks  

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

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.