in reply to Re: hashs and file handle globs
in thread hashs and file handle globs

thanks for your help. you are correct that readline() does indeed work. It may be me, but it seems that scalars and hash or array members should be treated the same here? Anyway, I'm grateful it works.

Replies are listed 'Best First'.
Re: Re: Re: hashs and file handle globs
by broquaint (Abbot) on Nov 20, 2002 at 16:24 UTC
    It may be me, but it seems that scalars and hash or array members should be treated the same here?
    The problem is that perl's globbing syntax looks very similar to it's filehandle access syntax. So anything that looks more complex than a bareword or a scalar is assumed to be a glob. Of course this is where the glob() and readline() functions step in and erase any ambiguity.
    HTH

    _________
    broquaint