in reply to Re^2: Getting utf8::SWASHGET when using MIME::Tools
in thread Getting utf8::SWASHGET when using MIME::Tools

Check your shebang line then. The perl being specified on the first line of your script (#!/path/to/perl) is not the first one in your path (which perl). Two different interpreters are being used, generating the different results.

--MidLifeXis

Replies are listed 'Best First'.
Re^4: Getting utf8::SWASHGET when using MIME::Tools
by nobilis (Initiate) on Jun 05, 2012 at 15:16 UTC

    Wow, spot on! I typed as a shebang the address from bash$ which perl and it ran flawlessly, however using the old shebang (#!/usr/bin/perl) it would give me that issue.

    Thanks very much for that, it kind of slipped my mind that naturally the latest version of perl might not necessarily be found in the usual place that I'd look in, normally I'd leave that to the software running the perl scripts and would just use the standard old when I'm writing them initially. Up until now, I hadn't experienced any issues.

    Thank you all, I think that pretty much concludes it :)