What is the easiest way (without opening a shell to curl and reading from stdin) in Perl to stream from another HTTP resource? I\'m assuming here that the HTTP resource I\'m
Wait, I don't understand. Why are you ruling out a separate process? This:
open my $stream, "-|", "curl $url" or die; while(<$stream>) { ... }
sure looks like the "easiest way" to me. It's certainly easier than the other suggestions here...