Here's a simple Perl script you can use to scan for open ports:

- IO::Socket is used to handle network connections in Perl.
- The for loop goes through ports 1 to 1000.
- For each port, it tries to connect using IO::Socket::INET->new.
- If it can connect, the port is open, and it prints a message.