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

diagnostic classes



% perl -we 'sub x() {1}; undef &x'
Constant subroutine x undefined at -e line 1.
% perl -e 'sub x() {1}; undef &x'

See?  No warning.  But perldiag lists that warning as being class
(S), which is a mandatory warning.  I'm not saying it should be,
but that perldiag should say whatever it really is.

--tom


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