in reply to Re: Efficient way to verify scalar contents
in thread Efficient way to verify scalar contents
my goal was maintainability, if speed mattered, I'd move the declaration of the rules and rulesets out of the sub. redefining them each time is useless.
Also using regex-refs via qr// is faster, but code-refs allow implementing more complex rules if requirements change.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Efficient way to verify scalar contents
by haukex (Archbishop) on Jun 22, 2020 at 13:44 UTC |
In Section
Seekers of Perl Wisdom