\\Srvbuild\e\ADW61\VENDOR\MICROSOFT\PLATFORMSDK\INCLUDE I want to split it at the first single '\' ie: \\Srvbuild\e \ADW61\VENDOR\MICROSOFT\PLATFORMSDK\INCLUDE current code: my ($network, $path) = split /^\\/, $include;
Edited by mirod 2002-06-07: changed the title (was: split) so it would not clash with a Perl keyword
In reply to Getting server share and path from a Microsoft UNC by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |