in reply to Is it possible to shorten this code?
use LWP::Simple;@a=<>;getprint"http://LeWebsite.com?a=$a[0]&b=$a[2]"
You might need to add chomp to the code, though, to remove newlines from the input:
use LWP::Simple;chomp(@a=<>);getprint"http://LeWebsite.com?a=$a[0]&b=$ +a[2]"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is it possible to shorten this code?
by ikegami (Patriarch) on Jun 16, 2015 at 18:01 UTC |