in reply to Pronounceable syntax or beloved punctuation?
Much better to be specific, like you say:my $line = <$fh>; # Filehandle? my $file = <*fs>; # Glob?
The angle brackets and the whole DWIM thing are for "programmer efficiency" and not necessarily "program clarity". In some cases, you would want to avoid them entirely.my $line = $fh->readline(); # Filehandle! my ($file) = glob("*fs"); # Glob!
|
---|