Lines Matching defs:save
125 bit-pattern, we can save and restore it easily (it will just look like
516 Next we need to handle C<$@> without getting confused. We save C<$@> in a
517 local lexical, localize C<$saved[0]> (which is where C<save()> will put
518 C<$@>), and then call C<save()> to capture C<$@>, C<$!>, C<$^E>, C<$,>,
617 # Evaluate and save any results.
634 eval { &DB::save };
906 # + Added command to save all debugger commands for sourcing later.
954 # used to save @ARGV and extract any debugger-related flags.
1018 Second, C<optionVars> lists the variables that each option uses to save its
1146 then call the C<pager()> function to save the pager name.
1205 We save the current contents of the C<PERLDB_PIDS> environment variable
1732 &save;
2079 we'll do nothing below (no command will match). If there was, we also save it
2457 when entered (see X<DB::sub>). We also save the C<n> command in C<$laststep>,
2667 After the command line has been reconstructed, the next step is to save
2669 is used to save aggregate variables (both hashes and arrays); scalars are
2675 # save that in the environment.
2696 find the breakpoints, and then save them in the appropriate environment
3233 =head4 C<save> - send current history to a file
3238 Note that all C<^(save|source)>'s are commented out with a view to minimise recursion.
3242 # save source - write commands to a file for later use
3243 $cmd =~ /^save\s*(.*)$/ && do {
3247 chomp(my @truelist = map { m/^\s*(save|source)/ ? "#$_": $_ } @truehist);
3251 &warn("Can't save debugger commands in '$1': $!\n");
3258 FOR C<|>, we save C<OUT> (the debugger's output filehandle) and C<STDOUT>
3259 (the program's standard output). For C<||>, we only save C<OUT>. We open a
3275 &warn("Can't save STDOUT");
3281 open(SAVEOUT, ">&OUT") || &warn("Can't save DB::OUT");
4600 We save the last line listed in the C<$start> global for further listing
4994 We extract the expression, save it, evaluate it in the user's context, and
4995 save the value. We'll re-evaluate it each time the debugger passes a line,
5009 # ... save it.
5103 =head2 save
5105 save() saves the user's versions of globals that would mess us up in C<@saved>,
5110 sub save {
5120 } ## end sub save
5507 # Go through the arguments and save them for later.
5670 # We save, change, then restore STDIN and STDOUT to avoid fork() since
5672 open(SAVEIN, "<&STDIN") || &warn("Can't save STDIN");
5673 open(SAVEOUT, ">&STDOUT") || &warn("Can't save STDOUT");
5716 true, we'll get a C<Term::ReadLine> object for the current terminal and save
6327 # as hex, and then save in the appropriate VAR_0, VAR_1, etc.
6438 there's already a terminal in place, we save the information to take effect
6488 we save the value to use it if we're restarted.
6504 use C<Term::ReadLine>. Can't be changed after a terminal's in place; we save
6676 my $save = select($LINEINFO);
6678 select($save);
6711 # should!) decode it and save as partial message.
6851 B<save> I<file> Save current debugger session (actual history) to I<file>.
8131 If we have $ini_pids, save it in the environment; else remove it from the