If util.pm is in the same directory as your script but that is not your current working directory when you run the script then you need to add the directory the script is in to @INC, not ".".
See How do I add the directory my program lives in to the module/library search path? for options.
In reply to Re: Script works in XP but not Ubuntu?
by ig
in thread Script works in XP but not Ubuntu?
by BassKozz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |