in reply to Re: Simple CLI calculator based on Perl's eval()
in thread Simple CLI calculator based on Perl's eval()

> x EXPR

I think you meant p EXPR :)

Here one (of many) ways to have an automated x

Re^5: [perldebugger] calling perldoc from within the debugger (inifile)

The OP could also use the debugger aliases to achieve his regexing.

DB<35> h = = [alias value] Define a command alias, or list current aliases. DB<36>

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery