Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^4: Why reftype and blessed are making my life harder than it needs to beby Perl Mouse (Chaplain) |
on Feb 11, 2006 at 19:53 UTC ( [id://529593]=note: print w/replies, xml ) | Need Help?? |
That sounds like a bug to me. Internally, all Perl strings are zero terminated, but on the language level, Perl is supposed to be better than C, and be able to deal with "\0" correctly. Here it doesn't. It seems that bless [], "\0" and bless [], "\0foo" are blessed into the same package.
Perl --((8:>*
In Section
Meditations
|
|