Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.lang.perl Subject: Re: Debug Option Message-ID: <7728@jpl-devvax.JPL.NASA.GOV> Date: 10 Apr 90 23:17:41 GMT References: <1990Apr10.202336.17704@uvaarpa.Virginia.EDU> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 25 In article <1990Apr10.202336.17704@uvaarpa.Virginia.EDU> gaspar@STL-08SIMA.ARMY.MIL writes: : : I was messing around with the debugger today, and I found that (as : advertised) 'perl -de 0' would dump me into the debugger, but that : 'perl -ed 0' just put me back to my prompt. I'm just curious. Is : this behavior correct? Correct according to whom? It could be made to work the way you expect, but that would be complicated. : Are there other options that must be given in a particular order? The -I option also requires a following argument, except that you can have no intervening space if you like. In other words, if you said perl -Id /usr/local/lib/perl whatever you would add 'd' to the @INC array, and then it would try to execute the directory /usr/local/lib/perl as a perl script, which probably won't do anything useful. The -D and -i switches also must be the final switch in a bundle. Larry