in reply to Re: Does Perl Support Absolute paths
in thread Does Perl Support Absolute paths
Why shell out if you can do this from within the script, with better chance to handle errors (if any).
use Win32::FileOp qw(Map); Map 'H:' => '\\\\server\\share', {persistent => 1} or die "Failed to map the drive: $^E\n"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Does Perl Support Absolute paths
by Ashes.cfg (Initiate) on Nov 08, 2007 at 03:51 UTC | |
by Jenda (Abbot) on Nov 08, 2007 at 11:44 UTC | |
by Ashes.cfg (Initiate) on Nov 08, 2007 at 13:28 UTC |