[QUOTE=nbwoven]If I understand this correctly depending on what you're trying to accomlish with this perl ipl script ; the Solaris absolute path to the xml file should work fine . Eg. //test/default/main/US/dev/WORKAREA/user/docroot/abc.xmlRight now i have placed it(the xml file ) in the same location where my ipl file is , now i want it placed under the current workarea . will this will help me to retrive the file .TeamSite::Config::iwgetmount(); , and am getting /wmnt value .
use TeamSite::Config;my $iwmount = TeamSite::Config::iwgetmount();...my $full_path = "$iwmount/$branch/WORKAREA/$waname/$dirpath/$filename";if (!open(IN, "<", $full_path)) { # ERROR}my $file_contents = do { local $/; };close(IN);...