in reply to Re: Parsing a large html with perl
in thread Parsing a large html with perl

Thanks so much @haukex. I have added two lines of code to yours (had two questions), and problem solved!

Regarding the API, I use the service using client libraries written for python, almost everyday. I just wanted to do things differently this time by using Perl, for which the organisation does not seem to have a client library.

Thank you all for your prompt answers and suggestions!!

Replies are listed 'Best First'.
Re^3: Parsing a large html with perl
by marto (Cardinal) on Jun 04, 2020 at 07:41 UTC

    You don't need them to provide a client library in perl, writing your own is reasonably straightforward. The advantage of using their API is that generally speaking they are less suceptable to change than a webpage. Super Search for mojo api will find results to get you started.