what about PAR or similar for making sure XML::Simple or any other dependencies are packaged with your script? XML::Dumper is another one.. You can always copy code (or the whole package) from one of those into your .pl file (obviously not the best way to go -- see PAR).