in reply to Re: formatting print output from array
in thread formatting print output from array

You can golf the loop down like this:
while (chomp(<INFO>)){ print "\nhttp://website.org/session2?ip=$_&emai +l=you%40there.com\n" }
require General::Disclaimer;

All code, unless otherwise noted, is untested

"All it will give you though, are headaches after headaches as it misinterprets your instructions in the most innovative yet useless ways." - Maypole and I - Tales from the Frontier of a Relationship (by Corion)

Replies are listed 'Best First'.
Re^3: formatting print output from array
by revdiablo (Prior) on Sep 29, 2004 at 23:56 UTC

    Or golf the whole thing to:

    (@ARGV, $/) = '/home/steven/x.x-sort'; $_ = <>; s[.+][http://website.org/session2?ip=${&}&email=you%40there.com]g; print;