"Earnshaw, Mike" wrote: > Can't locate WP/UserAgent.pm in @INC (@INC contains: .....) Add this line to your script: use lib "/path/to/the/relevant/directory"; Also, looking at the error message, you may have a typo - WP not LWP - in your script. Colin