in reply to Re: Perl's Bad Ideas
in thread Perl's Bad Ideas

>Too much semantics on one piece of notation. If Larry hadn't unnecessarily overloaded <> >to do globbing, then you would be able to write
That's what I said, or rather asked if that was why clintp disliked it.

As for the catch, yes. I have had to resort to readline before because of that.

--
perl -pe "s/\b;([st])/'\1/mg"

Replies are listed 'Best First'.
Re: Re: Re: Perl's Bad Ideas
by clintp (Curate) on Apr 07, 2002 at 03:44 UTC
    That's exactly why I dislike it. I think I really started to dislike it the first time I had to teach filehandles and noted that...oh yeah, the thing in <>'s has to look *exactly* like <identifier> or <$identifier> or what happens is something else entirely. Ugh.