i have been working in java for while and i kinda forget how to program in perl i guess any way

i want to get 3 variables out of this path
$store .
$ docroot
$ filepath after docroot
could you guys help me enhancing this
Thanks
$vpath = "//server/storexxx/main/web.com/branchxxx/WORKAREA/editorial/docrootxxx/stories/test.html";
($store, $docroot, $workarea , $file) = ($vpath =~ /(.*\/main\/)(.*)(\/WORKAREA\/editorial\/)(.+)/);
$vpath =~ m/^(\/[^\/]+)\/.+$/;
$mount_path = $1;
print " mount_path $mount_path \n";
print " Network is $Network \n";
print " doctoor is $docroot \n";
print " file is $file \n";