I would like to write a package for my own personal use and would like to include some common modules to cut down on typing. Basically things like use strict, warnings, carp etc. My problem is even though I have them in the module, my script dosnt pick up on them.
I would expect it to give me the following error:
Global symbol "$test" requires explicit package name at C:\Perl\tester.pl line 2.
use strict and use warnings are the first 2 lines in the mod::personal module.
Anyone got any ideas how I can do this?
Thanks in advance.