Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use strict;
- use warnings;
- use Win32::FileOp qw/ Map /;
- Map 'X:' => ' \\machine\share',
- { user => 'foo', passwd => 'bar' };
- open (my $file, "<", 'x:/path/file.ext') or die "...";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement