http://qs321.pair.com?node_id=1038226


in reply to how to do match www.jkghfdjbh.org from $li?

In addition to the replies above, your actual error is because of the embedded / in:
m/http://www.[a-z]|[A-Z].[a-z]/i
There are several solutions, the simplest is to use some other character as your delimiter, for example:
m!http://www\.[a-z]+\.[a-z]+!i