Bee, Can you explain why this open statement works? How does $FH have a value? What is the scaler value for? Thanks, Siegfried -----Original Message----- From: Bee [mailto:[EMAIL PROTECTED] Sent: Saturday, October 16, 2004 3:15 PM To: Siegfried Heintze; [EMAIL PROTECTED] Subject: Re: Why are file handles wierd?
> > What is the logic that says all data types will be prefixed with special > character such as "$" or "%" or "@" except file handles? Why are file > handles weird? > > If you like, you can make it look like : open my $FH, "<", \$scalar; while (not eof $FH) { do_something... }; close $FH; Does it help ? Bee -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>