To use specific module refer only
use only MyModule => 0.30;
Also to print error if module version you want is above to currently installed one
You can say
use XML::Smart v1.6.9;
or
use XML::Smart 1.6.9;
or
for backward compatibility
use XML::Smart 1.006_009;  
With reference from perldoc :
- use Module VERSION LIST  
- use Module VERSION  
- use Module LIST
- use Module
- use VERSION
If the VERSION argument is present between Module and LIST, then the
  use will call the VERSION method in class Module with the given
  version as an argument. The default VERSION method, inherited from the
  UNIVERSAL class, croaks if the given version is larger than the value
  of the variable $Module::VERSION .