How can I make an HTTP GET request from Perl?

后端 未结 4 1224
既然无缘
既然无缘 2021-01-22 03:07

I\'m trying to write my first Perl program. If you think that Perl is a bad language for the task at hand tell me what language would solve it better.

The program tests

4条回答
  •  半阙折子戏
    2021-01-22 03:49

    As for the parsing markup with regular expressions part of your question, DON'T!

    http://htmlparsing.icenine.ca explains some of the reasons why you shouldn't do this. Although what you're seemingly attempting to parse seems simple, use a proper parser.

    Page linked above no longer exists...

    http://www.cwhitener.com/htmlparsing

提交回复
热议问题