Code

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)
commit96bc4de85cf810db5c7cd94bf0688a98a64a0bc7
tree425d60decf270a7904b32bef27a70129d324f80e
parent7fb39d5f58efd05e982fe148630edc97ded753b6
Eliminate Scalar::Util usage from private-Error.pm

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>
perl/private-Error.pm