X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperldebug.pod;h=69346524ad932ba39217a0019666651d95e1abe4;hb=27bcc0a7e6b15b7b0d6f632d5f31918abd005ef4;hp=ee9fa97d1c70fd3184bb3a5459b2fad067760b44;hpb=ea5ec3060d131488dc0c12046e95afc4ec64909a;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perldebug.pod b/pod/perldebug.pod index ee9fa97..6934652 100644 --- a/pod/perldebug.pod +++ b/pod/perldebug.pod @@ -700,7 +700,7 @@ This module should implement a method named C that returns an object with two methods: C and C. These should return filehandles to use for debugging input and output correspondingly. The C method should inspect an argument containing the value of C<$ENV{PERLDB_NOTTY}> at -startup, or C<"/tmp/perldbtty$$"> otherwise. This file is not +startup, or C<".perldbtty$$"> otherwise. This file is not inspected for proper ownership, so security hazards are theoretically possible. @@ -1014,6 +1014,12 @@ L, and L. +When debugging a script that uses #! and is thus normally found in +$PATH, the -S option causes perl to search $PATH for it, so you don't +have to type the path or `which $scriptname`. + + $ perl -Sd foo.pl + =head1 BUGS You cannot get stack frame information or in any fashion debug functions