Guest User

Untitled

a guest
Jul 21st, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. my ($currentDir) = grep substr($File::Find::dir, 0, length()) eq $_, @dirs;
  2. my ($prName) = $File::Find::name =~ /^$currentDir\/(.*)\/.*$/;
  3. print "$prName\n"
Add Comment
Please, Sign In to add comment