in reply to Re^2: Perl copy Text from file to Script
in thread Perl copy Text from file to Script

Well, there's one difference between what you pass via $file[0] and what you pass directly: the latter one has the protocol specifier "http://".  So, I would try $ua->get("http://$file[0]").