Please post the function getEA along with the value of $vpath.
I have used this in a perl moduel...my $vpath=$area .'/'. $file;print LOG "vpath is: $vpath\n";my $dcr=getEA($vpath,'TeamSite/Templating/DCR/Type');$vpath is working fine... Nothing is changed in the environment...Thanks & Regards,Nitesh