in reply to Re: glob objects - why?
in thread glob objects - why?

I have a hard time believing that "bless" pre-dates hashrefs. Do you have a source for that?

Replies are listed 'Best First'.
Re^3: glob objects - why?
by choroba (Cardinal) on Feb 24, 2023 at 08:48 UTC
    I probably misremembered the details of this stackoverflow answer.
    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

      just wow...I thought I went pretty far back with perl, coming as I did as a Usenet traveler from fortran and C. What version of perl lacked a blessed reference?

        As far as I remember, references were introduced with v5.0, and bless either at the same time or shortly thereafter - I'm pretty sure it was in v5.001m, which was "latest stable" for quite some time.