develooper Front page | perl.perl5.porters | Postings from March 2000

Re: [PATCH] Two attribute::reftype() anomalies

Thread Previous
From:
Tom Christiansen
Date:
March 16, 2000 09:14
Subject:
Re: [PATCH] Two attribute::reftype() anomalies
Message ID:
14936.953226799@chthon
More oddities:

% perl -Mattributes=reftype -le 'print reftype($NONESUCH)'
[blank line]

% perl -Mattributes=reftype -le 'print reftype(undef)'
[blank line]

% perl -Mattributes=reftype -le 'print reftype(23)'
Usage: attributes::reftype $reference at -e line 1.
[Exit -1]

--tom

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About