Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^4: better (faster) way of writing regexp

by JavaFan (Canon)
on Dec 02, 2009 at 18:19 UTC ( #810635=note: print w/replies, xml ) Need Help??

in reply to Re^3: better (faster) way of writing regexp
in thread better (faster) way of writing regexp

# These don't result in any opcodes. $_ = "use strict; use warnings; our $date; $_" for values(%tests);
Indeed no opcodes, as it doesn't compile. You're interpolating a variable that hasn't been introduced to perl yet.

Replies are listed 'Best First'.
Re^5: better (faster) way of writing regexp
by ikegami (Pope) on Dec 02, 2009 at 18:33 UTC
    It doesn't later either. In other words, they're not executed during Benchmarking.

    Ah, I misread earlier. I had posted the wrong copy of the code. Fixed.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://810635]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2018-06-20 21:57 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (117 votes). Check out past polls.