Subject: [ID
20001010.001] [Daniel.Stutz@astaro.de: perlcc and C.pm in perl-5.7.0]
Message-Id: <
20001010082228.B17030@chaos.wustl.edu>
p4raw-id: //depot/perl@7518
# Now see if current package looks like an OO class this is probably too strong.
foreach my $m (qw(new DESTROY TIESCALAR TIEARRAY TIEHASH TIEHANDLE))
{
- if ($package->can($m))
+ if (UNIVERSAL::can($package, $m))
{
warn "$package has method $m: saving package\n";#debug
return mark_package($package);