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

Reply via email to