in reply to Re: Re: Perl's Bad Ideas
in thread Perl's Bad Ideas
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Perl's Bad Ideas
by belg4mit (Prior) on Apr 07, 2002 at 01:10 UTC | |
by clintp (Curate) on Apr 07, 2002 at 03:44 UTC |