{"action":"opened","issue":{"url":"https://api.github.com/repos/gugod/App-perlbrew/issues/620","repository_url":"https://api.github.com/repos/gugod/App-perlbrew","labels_url":"https://api.github.com/repos/gugod/App-perlbrew/issues/620/labels{/name}","comments_url":"https://api.github.com/repos/gugod/App-perlbrew/issues/620/comments","events_url":"https://api.github.com/repos/gugod/App-perlbrew/issues/620/events","html_url":"https://github.com/gugod/App-perlbrew/issues/620","id":335134966,"node_id":"MDU6SXNzdWUzMzUxMzQ5NjY=","number":620,"title":"available command is not working properly anymore","user":{"login":"glasswalk3r","id":3854915,"node_id":"MDQ6VXNlcjM4NTQ5MTU=","avatar_url":"https://avatars1.githubusercontent.com/u/3854915?v=4","gravatar_id":"","url":"https://api.github.com/users/glasswalk3r","html_url":"https://github.com/glasswalk3r","followers_url":"https://api.github.com/users/glasswalk3r/followers","following_url":"https://api.github.com/users/glasswalk3r/following{/other_user}","gists_url":"https://api.github.com/users/glasswalk3r/gists{/gist_id}","starred_url":"https://api.github.com/users/glasswalk3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glasswalk3r/subscriptions","organizations_url":"https://api.github.com/users/glasswalk3r/orgs","repos_url":"https://api.github.com/users/glasswalk3r/repos","events_url":"https://api.github.com/users/glasswalk3r/events{/privacy}","received_events_url":"https://api.github.com/users/glasswalk3r/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-23T22:18:31Z","updated_at":"2018-06-23T22:18:31Z","closed_at":null,"author_association":"NONE","body":"Something is broken and looks like is due some website change at [CPAN website](https://www.cpan.org/src/README.html):\r\n\r\n```\r\nalceu@yggdrasil:~/Projetos/cpan-openbsd-smoker/vagrant/scripts$ perlbrew version\r\n/home/alceu/perl5/perlbrew/bin/perlbrew  - App::perlbrew/0.82\r\nalceu@yggdrasil:~/Projetos/cpan-openbsd-smoker/vagrant/scripts$ perlbrew available\r\n\r\n  cperl-5.22.5  available from  <https://github.com/perl11/cperl/archive/cperl-5.22.5.tar.gz>\r\n  cperl-5.24.3  available from  <https://github.com/perl11/cperl/archive/cperl-5.24.3.tar.gz>\r\n  cperl-5.26.2  available from  <https://github.com/perl11/cperl/archive/cperl-5.26.2.tar.gz>\r\n  cperl-5.27.2  available from  <https://github.com/perl11/cperl/archive/cperl-5.27.2.tar.gz>\r\n```\r\n\r\nTaking a look at the code, `perlbrew` is using `curl` and parsing the HTML with regular expressions. I'm willing to try and provide a PR, but the current implementation is basically a hack.\r\n\r\nI suggest taking this to the CPAN website maintainers and providing a file that can actually be parsed and providing deterministic results, in other words, YAML, JSON or even XML (in worst case scenarios).\r\n\r\nThat would avoid issues in the long way, when somebody decide that is time to give the CPAN website a new face.\r\n\r\nJust please let me know if you think the suggestion is good."}}
{"actor":{"display_login":"glasswalk3r"}}