inside single quotes the $ is just more text, not the start of a variable name
Try
ormy $req = HTTP::Request->new(GET => "https://www.google.com/?name=$nam +e");
my $req = HTTP::Request->new(GET => 'https://www.google.com/?name='.$n +ame);
In reply to Re: url get with string
by huck
in thread url get with string
by bigup401
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |