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