in reply to -s switch in perl

Yes, it's also a file test operation, which returns the size of the file in byte.

The documentation can be found by typing perldoc -f -X on the command line.