Just switch your pager to a redirect to a file: DB<8> o pager=>/tmp/j.txt pager = '>/tmp/j.txt' DB<9> | x $self Now you've got a /tmp/j.txt file containing what 'x $self' would have shown. Sweet. j