Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use WWW;
- use DOM::Tiny;
- use Text::CSV;
- use URI::Encode;
- use HTTP::UserAgent;
- my @terms = "listredo.txt".IO.lines.map: *.subst(:g, " ", "+").&uri_encode;
- for @terms -> $term {
- my ($id,$termname) = $term.split(",");
- say $termname;
- }
Advertisement
Add Comment
Please, Sign In to add comment