File::Spec->no_upwards(files)
files
Strips names of files referring to a parent directory from a list of filenames. Doesn't strip symbolic links.
Copyright © 2001 O'Reilly & Associates. All rights reserved.