# It is trivial to fetch a file by http and save it to an ftp # server, or send it as an email: io("http://a.com") > io("ftp://b.com/incoming/myfile"); io("http://a.com") > io("ftp://me:secret@b.com/myfile"); io("ftp://a.com/pub/xyz") > io("mailto:me@c.com"); # You can also use local files, of course: io("file.txt") > io("mailto:me@c.com?subject=file.txt"); # Or to use the IO object as a filehandle: my $io = io("ftp://b.com/incoming/xyz")->tie; print $io "hello world\n";