[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: change in * protos



>The long and the short of it is that the current semantics make it
>possible to override builtins like open() and require(), which need to
>see simple scalar values as they were passed, not as typeglobs.  When
>you see the "*" prototype, think "any scalar including bareword" rather
>than "typeglob".

Yes, that clarifies perfectly, thanks.  One can hardly hope to write
a replacement for require or the one-arg form of open if Perl gives
you a typeglob for your troubles.

I suggest that this change be mentioned in the perldelta release
notes under the existing "Incompatible Changes" heading.

thanks,

--tom


[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]