Re: perl newbie trying to start debugger

[email protected] (Alan Young) Tue, 24 Apr 2007 07:24:48 -0600
Newsgroups perl.debugger
Message-ID <[email protected]>
Ben Edwards wrote:
>  #! /usr/bin/perl -d -e

Don't add the '-e' to the shebang line.

Generally speaking, you don't want to have the -d on the shebang line 
either, unless the script is being called in a chain (e.g., command | 
command | perl_script )

Run your script like so:

perl -d script_name