Octavian Rasnita wrote:
> Hi all,
> 
> Does anyone know how can I read a file from a UNC path?
> Is perl able to read files this way?

Just pass the UNC to open(). The underlying OS takes care of it; it's not a
Perl issue.

   open(F, '\\server\share\dir\file.ext') or die $!;

Or am I misunderstanding the question?

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to