Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 08c1a78c78
Fetching contributors…

Cannot retrieve contributors at this time

executable file 10 lines (8 sloc) 0.325 kb
#!/usr/bin/perl
# pipe this to your script to simulate a request from playdar:
# ( ./mock-input.pl ; sleep 10 ) | myscript
$art = "mokele";
$trk = "hiding in your insides";
my $rq = "{ \"qid\":\"4e63397e-18a3-11de-ba95-9bb64e34b615\", \"artist\" : \"$art\", \"track\" : \"$trk\" }";
print pack('N', length($rq));
print $rq;
Jump to Line
Something went wrong with that request. Please try again.