Eliminate Scalar::Util usage from private-Error.pm
authorPetr Baudis <pasky@suse.cz>
Wed, 26 Jul 2006 01:03:58 +0000 (03:03 +0200)
committerJunio C Hamano <junkio@cox.net>
Wed, 26 Jul 2006 04:13:30 +0000 (21:13 -0700)
We used just the blessed() routine so steal it from Scalar/Util.pm.
Unfortunately, Scalar::Util is not bundled with older Perl versions.

This is a newer much saner blessed() version by Randal L. Schwarz.

Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
No differences found