* eval regexp in perl-db?
@ 2005-11-19 16:50 Mike Ballard
0 siblings, 0 replies; only message in thread
From: Mike Ballard @ 2005-11-19 16:50 UTC (permalink / raw)
Thought I'd done this before but am not getting the result I was hoping
for; I'm trying to see what exprs evaluate as (without needing printfs in
code).
The expr is "m/$str\Z/i"; at perl-db prompt I try x/p/m but x/p return "1"
and whatever m returns is Greek (to me). Is there some way to eval
regexps from perl-db prompt in emacs?
If I do have to resort to printf in code, which pattern space (if that's
what it's called) do I look at? $_, $`, $', $+ aren't showing me the
result of the expr...
Mike
--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-19 16:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-19 16:50 eval regexp in perl-db? Mike Ballard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).