Guest User

Untitled

a guest
Nov 10th, 2017
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. use WWW;
  2. use DOM::Tiny;
  3. use Text::CSV;
  4. use URI::Encode;
  5. use HTTP::UserAgent;
  6.  
  7. my @terms = "listredo.txt".IO.lines.map: *.subst(:g, " ", "+").&uri_encode;
  8.  
  9. for @terms -> $term {
  10. my ($id,$termname) = $term.split(",");
  11. say $termname;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment