in reply to Re^2: howto parse (or determining end) of a line of perl
in thread howto parse (or determining end) of a line of perl
Maybe starting a thread to test compile the expression. "Return" success or fail to the main then end the thread.
(Maybe I'm misremembering, but I think that threads in Perl work by creating additional PVMs to execute the threads.)
Or try using Safe (which is a core module) to test-compile the expressions.
|
|---|