in reply to Knowing when a code string contains code that will be executed at compile-time/end?
What I mean by this is, can't you just check for use, BEGIN, etc with a regular expression? I don't think you need to answer the question of, is this valid Perl, based on your description, do you?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Knowing when a code string contains code that will be executed at compile-time/end?
by haukex (Archbishop) on Aug 15, 2020 at 08:30 UTC |