On 08 Jun 2001 10:31:25 -0500, [EMAIL PROTECTED] wrote:
> The code is below; what's pertinent is really the last line.
> When I drop the ."\n" the hash prints as expected, but with no line breaks
> between records. Assuming concactenating the \n would do it, I threw it into
> the print command.
> Now it returns a value of 2/8 instead of the hash values. . . what's the
> deal here?
<snip>
> print %cs."\n";
Order of operations is happening here. The concat (.) operator has a
higher
precedence than system calls (ie print). Try using (,) instead:
print %cs, "\n";
--
Today is Prickle-Prickle, the 13rd day of Confusion in the YOLD 3167
Hail Eris, Hack Linux!