I'm not sure what you mean... the editor should parse the code for all occurrences of BEGIN, CHECK and UNITCKECK and wrap each block with "use Safe" and "no Safe"?
Regarding the described problems to parse for such blocks I have no idea how to achieve this reliably withot adding a hook to Perl's parser.
Please see Intercepting compile time blocks like BEGIN {} for more detailed description of what I mean.
Cheers Rolf
In reply to Re^3: Vulnerabilities when editing untrusted code...
by LanX
in thread Vulnerabilities when editing untrusted code... (Komodo)
by LanX
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |