There's more than one way to do things | |
PerlMonks |
Re^3: Performance penalty of using qr// (the stupid way)by Anonymous Monk |
on Dec 21, 2017 at 10:40 UTC ( [id://1205970]=note: print w/replies, xml ) | Need Help?? |
compile once and cache as intended? That is
our $re; $re ||= qr...;
im afk atm ; you might gain some insight about when regex are compiled using re use re 'debug';
In Section
Seekers of Perl Wisdom
|
|