Also,suppose i change my code to:local *should_stop = sub { return 1; }; require ('wrong_settings_detection.pl');
Can i export the package into my test.pl ???package X; sub func1 {....} sub func2 {....} until (should_stop()){...}
In reply to Re^2: Test automation
by perl_help26
in thread Testing a .pl script
by perl_help26
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |