6. [ <> globbing was a bad idea ] Why? Implementation, or too much for one operator?Too much semantics on one piece of notation. If Larry hadn't unnecessarily overloaded <> to do globbing, then you would be able to write
Which you can't presently do, and which frequently trips people up. Without the glob overloading, this would have meant just what it appears to.@array_of_fhs = ...; my $line = <$array_of_fhs[37]>;
--
Mark Dominus
Perl Paraphernalia
In reply to Re: Perl's Bad Ideas
by Dominus
in thread Perl's Bad Ideas
by japhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |