in reply to opening files on a pc from unix server?

Aha. Sounds like you want to implement uploading to a server. CGI.pm has an already well tested upload capability.
This is the form creation
#!/usr/bin/perl use CGI; my $query= new CGI; print $query->header; print $query->startform(-enctype => &CGI::MULTIPART); print $query->filefield(-name => 'uploaded_file', -default => "C:\Uploads\", -size => 50, -maxlength=> 80); print $query->endform;
You'll also need to process the file upload, and thats documented in CGI.pm as well.
#!/usr/bin/perl use CGI; my $query= new CGI; print $query->header; my $file=$query->param('uploaded_file'); while(<$file>) { print $_; # the contents of the upload file }

--
Jay "Yohimbe" Thorne, alpha geek for UserFriendly