Advertisement
Guest User

Untitled

a guest
Jul 11th, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. use strict;
  2. use warnings;
  3. use Win32::FileOp qw/ Map /;
  4.  
  5. Map 'X:' => ' \\machine\share',
  6. { user => 'foo', passwd => 'bar' };
  7.  
  8. open (my $file, "<", 'x:/path/file.ext') or die "...";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement