[EMAIL PROTECTED] wrote:

Small correction....

Try
open my F, '>outputsample1' or
     die 'Failed to open outputsample1';
my $f = \*F;
while (($key, $value) = each %hash)
 {

         print $f  $value."\n";

}
 close $f;

Yaron.

It would help if you tested your code before you published it. This is
nonsense. This part of Mihir's code was fine as it was, while yours doesn't
even compile.

Rob

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to