in reply to use equivalent ? I suspect not...
Any road up, my problem now is the oft-quoted equivalent of the use statement, being approximated to...That ain't the same, is it? If you put your require inside a BEGIN block, you will see the same output.BEGIN { require module; module->import(); }...
Now, compare and contrast that with changing the script - to..
require Test1; Test1->method();
|
|---|