in reply to How to use long strings...

yet another silly atemt to solve your problem:
while (get $url) { my $string = (split "_")[1]; print "${string}\n" }
untested but should work.

--- edit ---
ARRGGG! my fault!
replace while with foreach and it schoud work. (Maybe you have to split "get $url" by "\n" so this would be better:
forach (split "\n", (get $url)) {