in reply to My Perl Obfuscator
sub ReplaceVarNameInsideString ... # Detect special 2-letter variable names such as $' or $[ or $3 if ($TEST =~ m/^(\$[0-9\<\>\(\)!?~=:;,.`'%@&#\+\_\[\]\|\/\\]{1})/) {
Did you intend to include the variable @& in that regular expression?
Neither $' nor $[ nor $3 contain any "letters" and they are all single character variable names (the sigil does not count as part of the name.)
Also, you don't include single control character names like $^A, $^B, $^C, etc.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: My Perl Obfuscator
by harangzsolt33 (Deacon) on Jan 12, 2024 at 16:25 UTC | |
by soonix (Chancellor) on Jan 12, 2024 at 19:16 UTC |