In Perl, file test operator -k checks if the sticky bit is set on a file. The -s operator tests for non-zero file size, -l tests for symbolic link, and -S tests for socket file. Sticky bit is a permission bit that restricts deletion to the file owner even on writable directories.