perl breakpoints

Brian Medley bpm-list-blu at 4321.tv
Tue Sep 9 14:40:31 EDT 2003


Hi,

I am trying to store breakpoints in the perl debugger's rc file.  I have
found a way to do this, but I am curious if anyone knows a better way (as
in, officially supported - I don't know if what I came up just "happens" to
work or if it's what they want done in this situation).

As shown below, I would like the ability to set a breakpoint for mulitple
files.

sub afterinit {
    $postponed_file{"../lib/Package.pm"}{26} = 1;
    $postponed_file{"main.pl"}{55} = 1;
}

-- 
~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-., \|/  (___)  \|/ _,.-=~'`^`
                                               @~./'O o`\.~@
               "Knowledge is Power"           /__( \___/ )__\  *PPPFFBT!*
                  -- Francis Bacon               `\__`U_/'
 _,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~= <____|'  ^^`'~=-.,__,.-=
~`'^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-==--^'~=-.,__,.-=~'`^`



More information about the Discuss mailing list