BEGIN { use_ok( ... ) } uses a BEGIN block. BEGIN:{ use_ok( ... ) } uses "BEGIN" as a useless label. Drop the colon.
Or just stop using use_ok(). I see no value in it.
- tye
In reply to Re: Prototypes being ignored with use_ok() from Test:More ? (colon)
by tye
in thread Prototypes being ignored with use_ok() from Test:More ?
by JPMH
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |