From: | Tels <nospam-abuse [...] bloodgate.com> |
To: | bug-PPI [...] rt.cpan.org |
Subject: | type() on "unless () {}" vs. "if () {}" |
Date: | Mon, 2 Jan 2006 19:11:46 +0100 |
-----BEGIN PGP SIGNED MESSAGE-----
Moin,
type() returns 'if' instead the expected "unless" for unless constructs as
demonstrated by the attached test script (the documentation for type()
also does not mention "unless" at all).
This bug tripped my code up, because a flowchart for "if ...." should look
fundamentally different than on for "unless ..." :-)
Best wishes,
Tels
- --
Signed on Mon Jan 2 19:09:41 2006 with key 0x93B84C15.
Visit my photo gallery at http://bloodgate.com/photos/
PGP key on http://bloodgate.com/tels.asc or per email.
"My other computer is your Windows box." -- Dr. Brad (19034) on
2004-08-13 at /.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iQEVAwUBQ7ls4ncLPEOTuEwVAQHoNAf+KUP16PnMX9/PpEFmHvyuFSUGeIOsxlF4
Z26Q8/cpxKlpEn9twiER0Oszr5GcHornWfD+gsP69HRuJ/tvdLHzN1IAw1XlHAL8
DJyuiMuZ00e7qVpvz0okS3923AppOtMLww/CkUv/vFvUorJIDdyla4AkSFaySoTn
9Gcnc7v/mIU+FSFMpw/YWCn/+LaToW66zOZ5elFpRIm8qNNP/D8lcIAPp+1Lcuma
9dWRQfFQDqEWhua8NqNpd+hRidtOlPQsZgiIx7rwrl4ebn/j3bcQ896BIOQCPqQV
5j6iPau1j1WVoe8+lF6bM80tbgeoObBu5dFrfKMiWGxHMgS4nsgSNg==
=E+0v
-----END PGP SIGNATURE-----
Message body is not shown because sender requested not to inline it.