Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Re: Test-a-Rex

by ChOas (Curate)
on Sep 04, 2001 at 12:14 UTC ( #109989=note: print w/replies, xml ) Need Help??

in reply to Re: Test-a-Rex
in thread Test-a-Rex


Yeah, known problem.. but I think I`ll take it as-is,
it results from the program unleashing the regex, even while
it is not totally finished, it being in an eval won`t crash the
program, but the eval does....

I might have opted for a 'try-it' button after one finishes writing
the regex, but I think part of the strength of this program is that
you can see the different matches/results while you are building/writing
the regex


print "profeth still\n" if /bird|devil/;

Replies are listed 'Best First'.
Re: Re: Re: Test-a-Rex
by jepri (Parson) on Sep 05, 2001 at 13:59 UTC
    Just swtich off warnings for that section with no warnings; or trap the warning call with $SIG{__WARN__} or redirect STDERR to /dev/null with open STDERR, ">/dev/null";

    I recommend the third. You can redirect to anywhere (say a "log" file) for systems with no /dev/null

    I didn't believe in evil until I dated it.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://109989]
[Discipulus]: practical use for?
[marto]: finding bugs, either in the CPU layer or hypervisor, finding undocumented instructions
[zentara]: are you talikng about perf?
[Discipulus]: i miss what an undocumented instructions can be, and how can be used

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2017-07-28 12:00 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (428 votes). Check out past polls.