On Fri, Oct 24, 2003 at 09:47:14AM -0800, Mark Weisman wrote:
> I'm not sure, however I put the script mods in that you suggested, and
> my $output is the word "SCRIPT", I would like clarification on line 2 if
> you would please?
> >my $output = join("", SCRIPT);> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > open (SCRIPT, "./scriptname.pl password|"); > > my $output = join("", SCRIPT); > > close SCRIPT Actually, I think you just need to put angle branckets around the SCRIPT, like so: my $output = join("", <SCRIPT>); What that says is, read in every line of the script's output as separate lines, join them together with a null string (which simply puts them back together into one big string), and print the result. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
