> 
> 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>


Reply via email to