in reply to Re: Is space supposed to be ignored between a sigil and its variable name?
in thread Is space supposed to be ignored between a sigil and its variable name?

Perl ignores whitespace.

...except where it doesn't :)

Like for example in  < $fh >  vs.  <$fh>.  Or even in <$ fh> — to keep it on-topic.

Replies are listed 'Best First'.
Re^3: Is space supposed to be ignored between a sigil and its variable name?
by jettero (Monsignor) on Apr 18, 2009 at 15:42 UTC
    Yeah, I suspect the perl toeknizer turns <$fh> into a single token... probably historical, since it always used to be <BLARG> and <> also does <stuff.*> ... so yeah, fine except where it doesn't work -- like way too much overloaded operators?

    -Paul

      context rich enviroment :)
      <$fh> readline$fh < $fh > <$ fh> glob$fh
      you want space, use glob :)