File::Spec->file_name_is_absolute(path)
path
Takes a path as argument and returns true if it is an absolute path. Checks for VMS directory specification as well as Unix separators.
Copyright © 2001 O'Reilly & Associates. All rights reserved.