sub dumpvar { ... my $saved_sep = $,; $, = " "; # Iterate through the symbol table, which contains glob values ... $, = $saved_sep; # restore original value } #### local $, = " "; # localize the the change to this scope