Skip to content

Commit

Permalink
Use print instead of deprecated send method (since v2015.7)
Browse files Browse the repository at this point in the history
  • Loading branch information
azawawi committed Jul 30, 2015
1 parent 2af2a89 commit f46abb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/LWP/Simple.pm
Expand Up @@ -208,7 +208,7 @@ method make_request (
# (string context is forced by concatenation)
$req_str ~= $content if $content.defined;

$sock.send($req_str);
$sock.print($req_str);

my Blob $resp = $sock.read($default_stream_read_len);

Expand Down

0 comments on commit f46abb4

Please sign in to comment.