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();
In reply to Re: use equivalent ? I suspect not...
by JavaFan
in thread use equivalent ? I suspect not...
by Bloodnok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |