in reply to Re: !p tries to sh p
in thread !p tries to sh p

Let me restate the problem. Suppose I say '>p $foo'. Then later on I wish to repeat the action, so instead of saying '>p $foo', I say '>!p'. As I understand the doc, that is supposed to repeat the last instance of the p command, in this case '>p $foo'.

In the doc, its pointed out that recallCommand and ShellBang are both set to '!'. On the last version of perldb, the ! worked as I expected; in this version it appears to be running it as ShellBang. I'm assuming that this was not intenced.

Replies are listed 'Best First'.
Re^3: !p tries to sh p
by LanX (Saint) on Jan 06, 2015 at 05:41 UTC
    Without version info I can only guess.

    But I only use Ctrl-r to recall commands, though YMMV!

    Cheers Rolf

    (addicted to the Perl Programming Language and ☆☆☆☆ :)

      It was broken during major refactoring included in 5.18.

      - tye        

      Cool! Thanks.